summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 3ae6c7c2c60..6ad4ed9683c 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -53,8 +53,10 @@ extern void abort ();
#ifdef USE_X_TOOLKIT
#include <X11/Shell.h>
+#ifndef USE_MOTIF
#include <X11/Xaw/Paned.h>
#include <X11/Xaw/Label.h>
+#endif /* USE_MOTIF */
#ifdef USG
#undef USG /* ####KLUDGE for Solaris 2.2 and up */