]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagiff.cpp
Fixed compile error with gcc-3.2.
[wxWidgets.git] / src / common / imagiff.cpp
index e852c4f645c3f1788995a6c3d9cd428fab297f4b..57229692690542755d82fe28ee14194fea950259 100644 (file)
@@ -12,7 +12,7 @@
 // by the author of xv, John Bradley for using the iff loading part
 // in wxWindows has been gratefully given.
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "imagiff.h"
 #endif
 
 #include "wx/log.h"
 #include "wx/intl.h"
 
+#if wxUSE_PALETTE
+    #include "wx/palette.h"
+#endif // wxUSE_PALETTE
+
 #include <stdlib.h>
 #include <string.h>