diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c index dd5d75ac5ad..e903158cf12 100644 --- a/Mac/Modules/res/Resmodule.c +++ b/Mac/Modules/res/Resmodule.c @@ -43,6 +43,7 @@ extern int BMObj_Convert(PyObject *, BitMapPtr *); extern PyObject *WinObj_WhichWindow(WindowPtr); #include +#include #define resNotFound -192 /* Can't include because of Python's "errors.h" */ diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py index 8c899f04102..4b4bd2f90d7 100644 --- a/Mac/Modules/res/ressupport.py +++ b/Mac/Modules/res/ressupport.py @@ -25,6 +25,7 @@ class ResMethod(ResMixIn, MethodGenerator): pass includestuff = includestuff + """ #include +#include #define resNotFound -192 /* Can't include because of Python's "errors.h" */ """