// 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>