# HG changeset patch # User Andreas Schwab # Date 1212917162 0 # Node ID c4f5f8f64d1fad07def471be89863b2ba72579d4 # Parent 32785fc68f99db8b0723006b15fba0f595427b81 * menu.c [HAVE_X_WINDOWS]: Include "xterm.h". * Makefile.in (menu.o): Update dependencies. diff -r 32785fc68f99 -r c4f5f8f64d1f src/ChangeLog --- a/src/ChangeLog Sun Jun 08 09:01:28 2008 +0000 +++ b/src/ChangeLog Sun Jun 08 09:26:02 2008 +0000 @@ -1,5 +1,8 @@ 2008-06-08 Andreas Schwab + * 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 diff -r 32785fc68f99 -r c4f5f8f64d1f src/Makefile.in --- a/src/Makefile.in Sun Jun 08 09:01:28 2008 +0000 +++ b/src/Makefile.in Sun Jun 08 09:26:02 2008 +0000 @@ -1167,7 +1167,7 @@ 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) diff -r 32785fc68f99 -r c4f5f8f64d1f src/menu.c --- a/src/menu.c Sun Jun 08 09:01:28 2008 +0000 +++ b/src/menu.c Sun Jun 08 09:26:02 2008 +0000 @@ -32,6 +32,10 @@ #include "../lwlib/lwlib.h" #endif +#ifdef HAVE_X_WINDOWS +#include "xterm.h" +#endif + #ifdef USE_GTK #include "gtkutil.h" #endif