patch 8.1.0766: various problems when using Vim on VMS
Problem: Various problems when using Vim on VMS.
Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 3f35409..6eb618f 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>