diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index ae752eafba..42101a4c0e 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -35,6 +35,9 @@ #include "wx/dynarray.h" #include "wx/arrimpl.cpp" +#ifdef __WXWINCE__ + #include "wx/msw/wince/missing.h" // for bsearch() +#endif // DLL options compatibility check: #include "wx/app.h" diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 2464a5a9ce..42c72aded6 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -30,8 +30,11 @@ FORCE_LINK_ME(m_layout) - -#include // bsearch() +#ifdef __WXWINCE__ + #include "wx/msw/wince/missing.h" // for bsearch() +#else + #include // bsearch() +#endif //----------------------------------------------------------------------------- // wxHtmlPageBreakCell