summaryrefslogtreecommitdiff
path: root/src/gui_xmebw.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-17 17:13:30 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-17 17:13:30 +0100
commit88c86eb751de9e7e410b405084d35b32fafc2a24 (patch)
treecf0c456ba4a4f0455fdcae1452e10716ae23a53c /src/gui_xmebw.c
parent4131fd5509b283e978e8c6161f09643b64719787 (diff)
downloadvim-git-88c86eb751de9e7e410b405084d35b32fafc2a24.tar.gz
patch 8.1.0766: various problems when using Vim on VMSv8.1.0766
Problem: Various problems when using Vim on VMS. Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
Diffstat (limited to 'src/gui_xmebw.c')
-rw-r--r--src/gui_xmebw.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c
index b09b1e64c..cd6079418 100644
--- a/src/gui_xmebw.c
+++ b/src/gui_xmebw.c
@@ -35,7 +35,13 @@
# include <Xm/XpmP.h>
# define UNHIGHLIGHTT
#else
-# include <X11/xpm.h>
+# ifdef HAVE_X11_XPM_H
+# ifdef VMS
+# include <xpm.h>
+# else
+# include <X11/xpm.h>
+# endif
+# endif
#endif
#include <Xm/ManagerP.h>
#include <Xm/Display.h>