changeset 95657:c4f5f8f64d1f

* menu.c [HAVE_X_WINDOWS]: Include "xterm.h". * Makefile.in (menu.o): Update dependencies.
author Andreas Schwab <schwab@suse.de>
date Sun, 08 Jun 2008 09:26:02 +0000
parents 32785fc68f99
children ad3644a3612d
files src/ChangeLog src/Makefile.in src/menu.c
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <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
--- 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)
--- 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