]> git.eshelyaron.com Git - emacs.git/commitdiff
[HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM is defined.
authorRichard M. Stallman <rms@gnu.org>
Mon, 27 Apr 1998 20:30:51 +0000 (20:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 27 Apr 1998 20:30:51 +0000 (20:30 +0000)
src/fns.c

index 49f0a58b241809f049719cfec6a0c216ea2929ac..dc55999efb6fa6976b2dd1890e348cdee011b50d 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA.  */
 #include "intervals.h"
 #include "frame.h"
 #include "window.h"
-#ifdef HAVE_MENUS
+#if defined (HAVE_MENUS) && defined (HAVE_WINDOW_SYSTEM)
 #include "xterm.h"
 #endif