X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39d16996b7616bf8090b140db74fd0b52d50d169..785f5eaa05195f5e44a974861864324667a3326e:/src/common/imagiff.cpp diff --git a/src/common/imagiff.cpp b/src/common/imagiff.cpp index e852c4f645..5722969269 100644 --- a/src/common/imagiff.cpp +++ b/src/common/imagiff.cpp @@ -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 @@ -34,6 +34,10 @@ #include "wx/log.h" #include "wx/intl.h" +#if wxUSE_PALETTE + #include "wx/palette.h" +#endif // wxUSE_PALETTE + #include #include