diff options
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Modules/res/Resmodule.c | 1 | ||||
-rw-r--r-- | Mac/Modules/res/ressupport.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c index dd5d75a..e903158 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 <Resources.h> +#include <string.h> #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */ diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py index 8c899f0..4b4bd2f 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 <Resources.h> +#include <string.h> #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */ """ |