* Makefile.in (menu.o): Update dependencies.
2008-06-08 Andreas Schwab <schwab@suse.de>
+ * menu.c [HAVE_X_WINDOWS]: Include "xterm.h".
+ * Makefile.in (menu.o): Update dependencies.
+
* fontset.c (Ffontset_info): Fix typo.
* Makefile.in (obj): Always add menu.o
ftxfont.o: dispextern.h xterm.h frame.h blockinput.h character.h charset.h \
font.h $(config_h)
menu.o: menu.c lisp.h keyboard.h keymap.h frame.h termhooks.h blockinput.h \
- dispextern.h $(srcdir)/../lwlib/lwlib.h gtkutil.h $(config_h)
+ dispextern.h $(srcdir)/../lwlib/lwlib.h xterm.h gtkutil.h $(config_h)
xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h buffer.h \
charset.h keyboard.h $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h \
systime.h gtkutil.h msdos.h coding.h $(config_h)
#include "../lwlib/lwlib.h"
#endif
+#ifdef HAVE_X_WINDOWS
+#include "xterm.h"
+#endif
+
#ifdef USE_GTK
#include "gtkutil.h"
#endif