diff --git a/src/mac/corefoundation/stdpaths_cf.cpp b/src/mac/corefoundation/stdpaths_cf.cpp index f38c5a7210..24caa0ff76 100644 --- a/src/mac/corefoundation/stdpaths_cf.cpp +++ b/src/mac/corefoundation/stdpaths_cf.cpp @@ -18,8 +18,13 @@ #include "wx/filename.h" #include "wx/mac/corefoundation/cfstring.h" +#if defined(__DARWIN__) #include #include +#else +#include +#include +#endif // See comment in include/wx/mac/corefoundation/stdpaths.h #ifndef wxStandardPaths