summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-15 17:29:39 +0000
committerManolo Gouy <Manolo>2011-02-15 17:29:39 +0000
commit01085aca4be7db9c45b8147e74423f8c024f679c (patch)
tree4e7eaf1839f723ada211bc5c112827be857da479 /src
parent2549a38b820a50156825f71cb510196e29149952 (diff)
Added #include <config.h> to get access to USE_X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_PostScript.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx
index 973a18fa4..7ffcf1a0f 100644
--- a/src/Fl_PostScript.cxx
+++ b/src/Fl_PostScript.cxx
@@ -25,13 +25,14 @@
// http://www.fltk.org/str.php
//
+#include <config.h>
#include <FL/Fl.H>
#include <FL/fl_ask.H>
#include <FL/fl_draw.H>
#include <stdio.h>
#include <FL/Fl_PostScript.H>
#include <FL/Fl_Native_File_Chooser.H>
-#if !defined(WIN32) && !defined(__APPLE__) && !USE_XFT
+#if defined(USE_X11) && !USE_XFT
#include "Fl_Font.H"
#endif