diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index c0af2ac256..8d223f8da0 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -57,11 +57,8 @@ #endif #if defined(__WXMAC__) - // VZ: MacTypes.h is enough under Mac OS X (where I could test it) but - // I don't know which headers are needed under earlier systems so - // include everything when in doubt #ifdef __DARWIN__ - #include "MacTypes.h" + #include #else #include "wx/mac/private.h" // includes mac headers #endif diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index ac467d90d8..d6d4dd5a54 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -36,10 +36,13 @@ #endif #ifdef __WXMAC__ - #include - #include - #include - +#ifdef __DARWIN__ +#include +#else +#include +#include +#include +#endif #include "wx/fontutil.h" #include "wx/mac/private.h" // includes mac headers diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 40bc93d871..ed6cb03ae8 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -75,9 +75,11 @@ #include "wx/utils.h" #ifdef __WXMAC__ +#ifndef __DARWIN__ #include #include #include +#endif #include "wx/mac/private.h" // includes mac headers #endif