summaryrefslogtreecommitdiff
path: root/community-staging/open-vm-tools/open-vm-tools-X11Bool.patch
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-04 22:48:12 +0000
committerroot <root@rshg047.dnsready.net>2011-06-04 22:48:12 +0000
commit80ba845c7cb571644d9dea61b9872c393d128c37 (patch)
tree064ee49a661ab3bdfaef029661561fd60bd1354c /community-staging/open-vm-tools/open-vm-tools-X11Bool.patch
parent805d577f46f94e747f712b7c942f595cd8f7e170 (diff)
Sat Jun 4 22:48:12 UTC 2011
Diffstat (limited to 'community-staging/open-vm-tools/open-vm-tools-X11Bool.patch')
-rw-r--r--community-staging/open-vm-tools/open-vm-tools-X11Bool.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community-staging/open-vm-tools/open-vm-tools-X11Bool.patch b/community-staging/open-vm-tools/open-vm-tools-X11Bool.patch
new file mode 100644
index 000000000..f12581807
--- /dev/null
+++ b/community-staging/open-vm-tools/open-vm-tools-X11Bool.patch
@@ -0,0 +1,15 @@
+diff -wbBur open-vm-tools-2010.08.24-292196.org/lib/include/vm_basic_types.h open-vm-tools-2010.08.24-292196/lib/include/vm_basic_types.h
+--- open-vm-tools-2010.08.24-292196.org/lib/include/vm_basic_types.h 2010-08-24 19:59:22.000000000 +0000
++++ open-vm-tools-2010.08.24-292196/lib/include/vm_basic_types.h 2010-08-30 09:38:48.000000000 +0000
+@@ -83,8 +83,11 @@
+
+ /* STRICT ANSI means the Xserver build and X defines Bool differently. */
+ #if !defined(__STRICT_ANSI__) || defined(__FreeBSD__) || defined(__MINGW32__)
++# ifndef _XTYPEDEF_BOOL
++# define _XTYPEDEF_BOOL
+ typedef char Bool;
+ #endif
++#endif
+
+ #ifndef FALSE
+ #define FALSE 0