Add missing patches for X11 build

This commit is contained in:
Martin Blapp 2009-03-25 18:19:46 +00:00
parent 6d68a1b1f6
commit ade9d6cd22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231004
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- lib/include/appUtil.h.orig 2009-03-24 19:24:50.000000000 +0900
+++ lib/include/appUtil.h 2009-03-24 19:24:20.000000000 +0900
@@ -69,7 +69,7 @@
#endif //_WIN32
-#if defined(linux)
+#if defined(linux) || defined(__FreeBSD__)
#include <glib.h>
void AppUtil_Init(void);

View file

@ -0,0 +1,12 @@
--- ./lib/appUtil/appUtilX11.c.orig 2009-02-18 17:02:41.000000000 +0900
+++ ./lib/appUtil/appUtilX11.c 2009-03-24 18:54:18.000000000 +0900
@@ -26,6 +26,9 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#if defined(__FreeBSD__)
+#include <libgen.h>
+#endif
#include "vmware.h"
#include "str.h"

View file

@ -0,0 +1,12 @@
--- lib/ghIntegration/ghIntegrationX11.c.orig 2009-02-18 17:02:42.000000000 +0900
+++ lib/ghIntegration/ghIntegrationX11.c 2009-03-24 19:18:47.000000000 +0900
@@ -62,7 +62,9 @@
#include "imageUtil.h"
#include "strutil.h"
#include <paths.h>
+#if defined(linux)
#include <mntent.h>
+#endif
#include "vm_atomic.h"
#include "ghIntegration.h"
#include "ghIntegrationInt.h"