diff --git a/src/generic/helpext.cpp b/src/generic/helpext.cpp index abac836452..838d373f04 100644 --- a/src/generic/helpext.cpp +++ b/src/generic/helpext.cpp @@ -40,6 +40,10 @@ #include #endif +#ifdef __WXMSW__ +#include +#endif + IMPLEMENT_CLASS(wxExtHelpController, wxHTMLHelpControllerBase) /** diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index af8f4639f9..ac2e1d135a 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -28,7 +28,9 @@ #include "wx/html/htmlwin.h" #include "wx/html/forcelnk.h" - +#ifdef __WXMSW__ +#include +#endif //----------------------------------------------------------------------------- // wxHtmlWindow