X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..4395fb21f651f8a08905c34507692ca7f902dfe5:/src/unix/fontenum.cpp diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index f1181a4aa7..94520acb8d 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -17,11 +17,13 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "fontenum.h" #endif -#include "wx/defs.h" +// for compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/dynarray.h" #include "wx/string.h" #include "wx/regex.h" @@ -30,6 +32,7 @@ #include "wx/fontmap.h" #include "wx/fontenum.h" #include "wx/fontutil.h" +#include "wx/encinfo.h" // ---------------------------------------------------------------------------- // Pango