summaryrefslogtreecommitdiff
path: root/src/gui_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r--src/gui_x11.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c
index 9d8ea7e4a..1c55805d3 100644
--- a/src/gui_x11.c
+++ b/src/gui_x11.c
@@ -30,7 +30,11 @@
# include <Xm/XpmP.h>
#else
# ifdef HAVE_X11_XPM_H
-# include <X11/xpm.h>
+# ifdef VMS
+# include <xpm.h>
+# else
+# include <X11/xpm.h>
+# endif
# endif
#endif