#ifndef WX_PRECOMP
# include "wx/defs.h"
+# include "wx/palette.h"
#endif
#if wxUSE_STREAMS && wxUSE_GIF
if ( !m_f->Read(buf, WXSIZEOF(buf)) )
return FALSE;
- m_f->SeekI(-WXSIZEOF(buf), wxFromCurrent);
+ m_f->SeekI(-(off_t)WXSIZEOF(buf), wxFromCurrent);
return memcmp(buf, "GIF", WXSIZEOF(buf)) == 0;
}