# HG changeset patch # User Eli Zaretskii # Date 985349307 0 # Node ID 0b580e75db8cde00dcc42e1f58781c0dffb00077 # Parent 0c9ff9f1d49f2ea1c9a259868f505d185090be94 Include widget.h only if USE_X_TOOLKIT is defined. diff -r 0c9ff9f1d49f -r 0b580e75db8c src/xmenu.c --- 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 #include #include