diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 7d7b6b4755..7bbc1caad6 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -47,6 +47,7 @@ #include "wx/layout.h" #include "wx/sizer.h" #include "wx/menu.h" + #include "wx/button.h" #endif //WX_PRECOMP #if wxUSE_DRAG_AND_DROP diff --git a/src/msw/debughlp.cpp b/src/msw/debughlp.cpp index a1719f2902..a04fa47835 100644 --- a/src/msw/debughlp.cpp +++ b/src/msw/debughlp.cpp @@ -21,6 +21,10 @@ #pragma hdrstop #endif +#ifndef WX_PRECOMP + #include "wx/wxcrt.h" +#endif // WX_PRECOMP + #include "wx/msw/debughlp.h" #if wxUSE_DBGHELP && wxUSE_DYNLIB_CLASS