summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Fl_PostScript.cxx1
-rw-r--r--src/Fl_Printer.cxx6
-rw-r--r--src/Makefile1
4 files changed, 4 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4b8983d46..f50cda627 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -46,6 +46,7 @@ set(CPPFILES
Fl_Paged_Device.cxx
Fl_Pixmap.cxx
Fl_Positioner.cxx
+ Fl_PostScript.cxx
Fl_Printer.cxx
Fl_Preferences.cxx
Fl_Progress.cxx
diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx
index 2bcde7a7a..9e20b4fac 100644
--- a/src/Fl_PostScript.cxx
+++ b/src/Fl_PostScript.cxx
@@ -16,6 +16,7 @@
// http://www.fltk.org/str.php
//
+#include <FL/Fl_Printer.H>
#include <config.h>
#include <FL/Fl.H>
#include <FL/fl_ask.H>
diff --git a/src/Fl_Printer.cxx b/src/Fl_Printer.cxx
index d89d50f0b..9e419d844 100644
--- a/src/Fl_Printer.cxx
+++ b/src/Fl_Printer.cxx
@@ -19,14 +19,10 @@
#include <FL/Fl_Printer.H>
-#ifdef __APPLE__
-//#include "Fl_Quartz_Printer.mm"
-#elif defined(WIN32)
+#if defined(WIN32)
#include "Fl_GDI_Printer.cxx"
#endif
-#include "Fl_PostScript.cxx"
-
// print dialog customization strings
/** [this text may be customized at run-time] */
const char *Fl_Printer::dialog_title = "Print";
diff --git a/src/Makefile b/src/Makefile
index 1376c3595..fb7caf191 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -61,6 +61,7 @@ CPPFILES = \
Fl_Pack.cxx \
Fl_Paged_Device.cxx \
Fl_Pixmap.cxx \
+ Fl_PostScript.cxx \
Fl_Positioner.cxx \
Fl_Preferences.cxx \
Fl_Printer.cxx \