summaryrefslogtreecommitdiffstats
path: root/src/gui_motif.c
diff options
context:
space:
mode:
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>