]> git.eshelyaron.com Git - emacs.git/commitdiff
Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not HAVE_X_WINDOWS.
authorDave Love <fx@gnu.org>
Fri, 23 Jun 2000 14:37:24 +0000 (14:37 +0000)
committerDave Love <fx@gnu.org>
Fri, 23 Jun 2000 14:37:24 +0000 (14:37 +0000)
src/xfaces.c

index 44f47b88e38ce0eefcaa0bc36af92c505873cff5..6299d80809e80f20566748336227f791695ead82 100644 (file)
@@ -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 <Xm/Xm.h>
 #include <Xm/XmStrDefs.h>
@@ -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.  */