X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/deb63b954bbf5fd364bc4c6bbabf0e815a677d95..dfe8399aa013a1fa6487d008bf1176078f218c6d:/src/os2/palette.cpp diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index bf84af809f..bd592c42e0 100644 --- a/src/os2/palette.cpp +++ b/src/os2/palette.cpp @@ -14,13 +14,16 @@ #ifndef WX_PRECOMP #include +#include "wx/defs.h" #include "wx/setup.h" +#include "wx/string.h" +#include "wx/os2/private.h" #include "wx/palette.h" +#include "wx/app.h" #endif #define INCL_PM #define INCL_GPI -#include #include "assert.h" @@ -150,7 +153,8 @@ int wxPalette::GetPixel( // // Now loop through and find the matching entry // - for (int i = 0; i < ulNumEntries; i++) + int i; + for (i = 0; i < ulNumEntries; i++) { if (pualTable[i] == ulRGB) {