changeset 36958:0b580e75db8c

Include widget.h only if USE_X_TOOLKIT is defined.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 23 Mar 2001 12:08:27 +0000
parents 0c9ff9f1d49f
children 69e2ac97db31
files src/xmenu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Fri Mar 23 11:14:13 2001 +0000
+++ b/src/xmenu.c	Fri Mar 23 12:08:27 2001 +0000
@@ -44,7 +44,6 @@
 #include "window.h"
 #include "blockinput.h"
 #include "buffer.h"
-#include "widget.h"
 
 #ifdef MSDOS
 #include "msdos.h"
@@ -67,6 +66,7 @@
 #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>