]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpcx.cpp
fix makefile (changed filelist)
[wxWidgets.git] / src / common / imagpcx.cpp
index 975252e0e1446ec3a12d563ee1c7fc24cc6c5ffd..cc45398eaf461c2025e9cafa1d663586016a5b77 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "imagpcx.h"
 #endif
 
@@ -21,6 +21,7 @@
 
 #ifndef WX_PRECOMP
 #  include "wx/defs.h"
+#  include "wx/palette.h"
 #endif
 
 #if wxUSE_IMAGE && wxUSE_PCX