diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-08-15 14:36:45 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-08-15 14:36:45 (GMT) |
commit | eaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9 (patch) | |
tree | 6cfdb342a970a28b9dbc27ef694a4dcaf9b7181c /Mac/Modules/res | |
parent | 69b43ed5bc2f3f38507f247896cc80fe6360a54d (diff) | |
download | cpython-eaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9.zip cpython-eaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9.tar.gz cpython-eaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9.tar.bz2 |
Added #include <string.h> for memcpy()
Diffstat (limited to 'Mac/Modules/res')
-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" */ """ |