From: Eli Zaretskii Date: Fri, 23 Mar 2001 12:09:53 +0000 (+0000) Subject: Include widget.h only if USE_X_TOOLKIT is defined. X-Git-Tag: emacs-pretest-21.0.101~191 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=991786ddc0a6df95119c4fe05f01e49065c58483;p=emacs.git Include widget.h only if USE_X_TOOLKIT is defined. --- diff --git a/src/ChangeLog b/src/ChangeLog index 402090933f4..1a5f2e9051c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-03-23 Eli Zaretskii + + * xmenu.c: Include widget.h only if USE_X_TOOLKIT is defined. + 2001-03-23 Gerd Moellmann * xfaces.c (x_update_menu_appearance): Use a different path diff --git a/src/xmenu.c b/src/xmenu.c index 7e7cf2ab71b..6c212da7ffa 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 #include #include