diff --git a/Mac/Include/getapplbycreator.h b/Mac/Include/getapplbycreator.h index 8ccaecdc181..62e5930ca62 100644 --- a/Mac/Include/getapplbycreator.h +++ b/Mac/Include/getapplbycreator.h @@ -22,7 +22,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ +#ifdef WITHOUT_FRAMEWORKS #include #include +#else +#include +#endif extern OSErr FindApplicationFromCreator(OSType, FSSpecPtr); diff --git a/Mac/Include/pymactoolbox.h b/Mac/Include/pymactoolbox.h index 3eb58b1f221..fca673d0682 100644 --- a/Mac/Include/pymactoolbox.h +++ b/Mac/Include/pymactoolbox.h @@ -6,6 +6,7 @@ extern "C" { #endif +#ifdef WITHOUT_FRAMEWORKS #include #include #include @@ -14,6 +15,10 @@ #include #include #include +#else +#include +#include +#endif #ifdef USE_TOOLBOX_OBJECT_GLUE /*