From: Richard M. Stallman Date: Mon, 27 Apr 1998 20:30:51 +0000 (+0000) Subject: [HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM is defined. X-Git-Tag: emacs-20.3~1286 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b1ee4bd14704ff747677160e37372371498e07dc;p=emacs.git [HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM is defined. --- 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