From b1ee4bd14704ff747677160e37372371498e07dc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 27 Apr 1998 20:30:51 +0000 Subject: [PATCH] [HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM is defined. --- src/fns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fns.c b/src/fns.c index 49f0a58b241..dc55999efb6 100644 --- 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 -- 2.39.2