diff options
Diffstat (limited to 'Mac/Include')
-rw-r--r-- | Mac/Include/getapplbycreator.h | 4 | ||||
-rw-r--r-- | Mac/Include/pymactoolbox.h | 5 |
2 files changed, 9 insertions, 0 deletions
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 <Types.h> #include <Files.h> +#else +#include <Carbon/Carbon.h> +#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 <Memory.h> #include <Dialogs.h> #include <Menus.h> @@ -14,6 +15,10 @@ #include <Lists.h> #include <Movies.h> #include <Errors.h> +#else +#include <Carbon/Carbon.h> +#include <QuickTime/QuickTime.h> +#endif #ifdef USE_TOOLBOX_OBJECT_GLUE /* |