summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/launch/launchsupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/launch/launchsupport.py')
-rw-r--r--Mac/Modules/launch/launchsupport.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/launch/launchsupport.py b/Mac/Modules/launch/launchsupport.py
index 7816a46..122278c 100644
--- a/Mac/Modules/launch/launchsupport.py
+++ b/Mac/Modules/launch/launchsupport.py
@@ -29,6 +29,10 @@ OptCFStringRef = OpaqueByValueType("CFStringRef", "OptCFStringRefObj")
LSItemInfoRecord = OpaqueType("LSItemInfoRecord", "LSItemInfoRecord")
includestuff = includestuff + """
+#if PY_VERSION_HEX < 0x02040000
+PyObject *PyMac_GetOSErrException(void);
+#endif
+
#include <ApplicationServices/ApplicationServices.h>
/*