aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2001-03-23 12:09:53 +0000
committerEli Zaretskii <[email protected]>2001-03-23 12:09:53 +0000
commit991786ddc0a6df95119c4fe05f01e49065c58483 (patch)
tree4cd26880e7daa955abb1a1b13900255a97b6d35d /src/xmenu.c
parent6c29b43cdcc7f52ee4c7472c9dfd71974ff0d783 (diff)
Include widget.h only if USE_X_TOOLKIT is defined.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 7e7cf2ab71..6c212da7ff 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -44,7 +44,6 @@ Boston, MA 02111-1307, USA. */
#include "window.h"
#include "blockinput.h"
#include "buffer.h"
-#include "widget.h"
#ifdef MSDOS
#include "msdos.h"
@@ -67,6 +66,7 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_X_WINDOWS
#undef HAVE_MULTILINGUAL_MENU
#ifdef USE_X_TOOLKIT
+#include "widget.h"
#include <X11/Xlib.h>
#include <X11/IntrinsicP.h>
#include <X11/CoreP.h>