summaryrefslogtreecommitdiff
path: root/src/os_macosx.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_macosx.m')
-rw-r--r--src/os_macosx.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os_macosx.m b/src/os_macosx.m
index 4ad8d26a8..1d88e7dcd 100644
--- a/src/os_macosx.m
+++ b/src/os_macosx.m
@@ -15,6 +15,10 @@
Error: MACOS 9 is no longer supported in Vim 7
#endif
+/* Avoid a conflict for the definition of Boolean between Mac header files and
+ * X11 header files. */
+#define NO_X11_INCLUDES
+
#include "vim.h"
#import <Cocoa/Cocoa.h>