summaryrefslogtreecommitdiffstats
path: root/src/gui_motif.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_motif.c
parent4131fd5509b283e978e8c6161f09643b64719787 (diff)
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_motif.c')
-rw-r--r--src/gui_motif.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 3f354096c1..6eb618f17c 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -34,9 +34,12 @@
#include <X11/Xatom.h>
#include <X11/StringDefs.h>
#include <X11/Intrinsic.h>
-
#ifdef HAVE_X11_XPM_H
-# include <X11/xpm.h>
+# if defined(VMS)
+# include <xpm.h>
+# else
+# include <X11/xpm.h>
+# endif
#else
# ifdef HAVE_XM_XPMP_H
# include <Xm/XpmP.h>