summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-08-15 14:36:45 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-08-15 14:36:45 (GMT)
commiteaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9 (patch)
tree6cfdb342a970a28b9dbc27ef694a4dcaf9b7181c /Mac
parent69b43ed5bc2f3f38507f247896cc80fe6360a54d (diff)
downloadcpython-eaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9.zip
cpython-eaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9.tar.gz
cpython-eaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9.tar.bz2
Added #include <string.h> for memcpy()
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/res/Resmodule.c1
-rw-r--r--Mac/Modules/res/ressupport.py1
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" */
"""