From f7cc6849e5fbb2d15b99ef90fcfceaac8b810ef4 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 23 Jun 2000 14:37:24 +0000 Subject: [PATCH] Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not HAVE_X_WINDOWS. --- src/xfaces.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/xfaces.c b/src/xfaces.c index 44f47b88e38..6299d80809e 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -193,9 +193,11 @@ Boston, MA 02111-1307, USA. */ #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 #include @@ -3964,6 +3966,8 @@ DEFUN ("internal-set-lisp-face-attribute-from-resource", #ifdef USE_X_TOOLKIT +#include "../lwlib/lwlib-utils.h" + /* Structure used to pass X resources to functions called via XtApplyToWidgets. */ -- 2.39.2