summaryrefslogtreecommitdiffstats
path: root/src/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.h')
-rw-r--r--src/gui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui.h b/src/gui.h
index e654a21b60..87fd4c1525 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -21,6 +21,14 @@
#endif
#ifdef FEAT_GUI_GTK
+# ifdef VMS /* undef MIN and MAX because Intrinsic.h redefines them anyway */
+# ifdef MAX
+# undef MAX
+# endif
+# ifdef MIN
+# undef MIN
+# endif
+# endif
# include <X11/Intrinsic.h>
# include <gtk/gtk.h>
#endif