summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/icn/icnsupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/icn/icnsupport.py')
-rw-r--r--Mac/Modules/icn/icnsupport.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Mac/Modules/icn/icnsupport.py b/Mac/Modules/icn/icnsupport.py
index 5ea6a45..bfdc555 100644
--- a/Mac/Modules/icn/icnsupport.py
+++ b/Mac/Modules/icn/icnsupport.py
@@ -46,7 +46,12 @@ RGBColor = OpaqueType("RGBColor", "QdRGB")
#EventKind = Type("EventKind", "H")
includestuff = includestuff + """
-#include <%s>""" % MACHEADERFILE + """
+#ifdef WITHOUT_FRAMEWORKS
+#include <Icons.h>
+#else
+#include <Carbon/Carbon.h>
+#endif
+
"""
class MyObjectDefinition(GlobalObjectDefinition):