changeset 21790:825e1cc8f4b7

[HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM is defined.
author Richard M. Stallman <rms@gnu.org>
date Mon, 27 Apr 1998 20:30:51 +0000
parents c7b93fe649d4
children ec09080bc3e1
files src/fns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Mon Apr 27 20:29:38 1998 +0000
+++ b/src/fns.c	Mon Apr 27 20:30:51 1998 +0000
@@ -39,7 +39,7 @@
 #include "intervals.h"
 #include "frame.h"
 #include "window.h"
-#ifdef HAVE_MENUS
+#if defined (HAVE_MENUS) && defined (HAVE_WINDOW_SYSTEM)
 #include "xterm.h"
 #endif