changeset 29897:cd1bb44e646d

Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not HAVE_X_WINDOWS.
author Dave Love <fx@gnu.org>
date Fri, 23 Jun 2000 14:37:24 +0000
parents 929a27e59f25
children 8f071fd1161d
files src/xfaces.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Fri Jun 23 14:34:44 2000 +0000
+++ b/src/xfaces.c	Fri Jun 23 14:37:24 2000 +0000
@@ -193,9 +193,11 @@
 #include "charset.h"
 #include "frame.h"
 
+#ifdef HAVE_WINDOW_SYSTEM
+#include "fontset.h"
+#endif
 #ifdef HAVE_X_WINDOWS
 #include "xterm.h"
-#include "fontset.h"
 #ifdef USE_MOTIF
 #include <Xm/Xm.h>
 #include <Xm/XmStrDefs.h>
@@ -3964,6 +3966,8 @@
 
 #ifdef USE_X_TOOLKIT
 
+#include "../lwlib/lwlib-utils.h"
+
 /* Structure used to pass X resources to functions called via
    XtApplyToWidgets.  */