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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 7eb57589c4..9e28be2b05 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -26,7 +26,6 @@
#include <Xm/LabelG.h>
#include <Xm/ToggleBG.h>
#include <Xm/SeparatoG.h>
-#include <Xm/Notebook.h>
#include <Xm/XmP.h>
#include <X11/keysym.h>
@@ -43,6 +42,9 @@
# include <Xm/XpmP.h>
# endif
#endif
+#ifdef HAVE_XM_NOTEBOOK_H
+# include <Xm/Notebook.h>
+#endif
#include "gui_xmebw.h" /* for our Enhanced Button Widget */