summaryrefslogtreecommitdiff
path: root/community-testing/open-vm-tools/open-vm-tools-X11Bool.patch
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-25 23:17:16 +0000
committerroot <root@rshg047.dnsready.net>2011-07-25 23:17:16 +0000
commit1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (patch)
treecb6d8e0d281eb0244b2f40ea9513a312584b43bc /community-testing/open-vm-tools/open-vm-tools-X11Bool.patch
parentc52a1a6eb4ad278a7b6d9eeeb9c7c88f73ca8d8c (diff)
Mon Jul 25 23:17:16 UTC 2011
Diffstat (limited to 'community-testing/open-vm-tools/open-vm-tools-X11Bool.patch')
-rw-r--r--community-testing/open-vm-tools/open-vm-tools-X11Bool.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community-testing/open-vm-tools/open-vm-tools-X11Bool.patch b/community-testing/open-vm-tools/open-vm-tools-X11Bool.patch
new file mode 100644
index 000000000..f12581807
--- /dev/null
+++ b/community-testing/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