X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fbf0513e066b12e395c9c93ba6b3dc88673700a..fd323a5e230f2b08227b307ff900698fb85d5519:/src/gtk1/dcps.cpp diff --git a/src/gtk1/dcps.cpp b/src/gtk1/dcps.cpp index 275e0d1b35..710668c98a 100644 --- a/src/gtk1/dcps.cpp +++ b/src/gtk1/dcps.cpp @@ -14,6 +14,10 @@ #pragma interface #endif +#include "wx/defs.h" + +#if wxUSE_POSTSCRIPT + #include "wx/postscrp.h" #include "wx/dcmemory.h" #include "wx/utils.h" @@ -24,6 +28,9 @@ #include "wx/image.h" #include "wx/log.h" +#include "gdk/gdk.h" +#include "gtk/gtk.h" + //----------------------------------------------------------------------------- // start and end of document/page //----------------------------------------------------------------------------- @@ -1662,3 +1669,5 @@ void wxPostScriptDC::GetSizeMM(long *width, long *height) const } } +#endif + // wxUSE_POSTSCRIPT