Another include Carbon/Carbon.h
diff --git a/Mac/Python/getapplbycreator.c b/Mac/Python/getapplbycreator.c
index f5e4212..8c0b00f 100644
--- a/Mac/Python/getapplbycreator.c
+++ b/Mac/Python/getapplbycreator.c
@@ -41,9 +41,13 @@
 ** routine, origin unknown.
 */
 
+#ifdef WITHOUT_FRAMEWORKS
 #include <Types.h>
 #include <Files.h>
 #include <Errors.h>
+#else
+#include <Carbon/Carbon.h>
+#endif
 #include "getapplbycreator.h"