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. */