]> git.eshelyaron.com Git - emacs.git/commitdiff
Include widget.h only if USE_X_TOOLKIT is defined.
authorEli Zaretskii <eliz@gnu.org>
Fri, 23 Mar 2001 12:09:53 +0000 (12:09 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 23 Mar 2001 12:09:53 +0000 (12:09 +0000)
src/ChangeLog
src/xmenu.c

index 402090933f4c2a75dea0b3d861eb958129542fc3..1a5f2e9051c562df06b7064b9c70eaf9bfb66fc5 100644 (file)
@@ -1,3 +1,7 @@
+2001-03-23  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xmenu.c: Include widget.h only if USE_X_TOOLKIT is defined.
+
 2001-03-23  Gerd Moellmann  <gerd@gnu.org>
 
        * xfaces.c (x_update_menu_appearance): Use a different path
index 7e7cf2ab71bd6e6867f0d320a35851ffe8712a42..6c212da7ffa4acef70af73868a272dc0db7e557a 100644 (file)
@@ -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>