From 6d55d620a61d672067cdcd5880968606f9d9cf27 Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Wed, 29 Apr 1998 04:34:05 +0000 Subject: [PATCH] Conditionally include xterm.h using HAVE_X_WINDOWS. --- src/frame.c | 2 ++ src/window.c | 2 +- src/xdisp.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frame.c b/src/frame.c index cb597b0c614..7d461089471 100644 --- a/src/frame.c +++ b/src/frame.c @@ -28,6 +28,8 @@ Boston, MA 02111-1307, USA. */ #include "charset.h" #ifdef HAVE_WINDOW_SYSTEM #include "fontset.h" +#endif +#ifdef HAVE_X_WINDOWS #include "xterm.h" #endif #include "frame.h" diff --git a/src/window.c b/src/window.c index 1f4815eba3e..e4ba54a4c68 100644 --- a/src/window.c +++ b/src/window.c @@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */ #include "keyboard.h" #include "blockinput.h" #include "dispextern.h" -#ifdef HAVE_WINDOW_SYSTEM +#ifdef HAVE_X_WINDOWS #include "xterm.h" #endif diff --git a/src/xdisp.c b/src/xdisp.c index 6419c5b3aa0..2ac8e7d45b4 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */ #include "process.h" #include "region-cache.h" -#ifdef HAVE_WINDOW_SYSTEM +#ifdef HAVE_X_WINDOWS #include "xterm.h" #endif -- 2.39.2