From 9f66b4af6a02cd185738f0cdb28336151c928056 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Sat, 19 May 2001 12:32:39 +0000 Subject: include Carbon/Carbon.h in stead of universal headers, if appropriate. --- Mac/Include/getapplbycreator.h | 4 ++++ Mac/Include/pymactoolbox.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/Mac/Include/getapplbycreator.h b/Mac/Include/getapplbycreator.h index 8ccaecd..62e5930 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 3eb58b1..fca673d 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 /* -- cgit v0.12