]> granicus.if.org Git - python/commitdiff
Added #include <string.h> for memcpy()
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 15 Aug 1997 14:36:45 +0000 (14:36 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 15 Aug 1997 14:36:45 +0000 (14:36 +0000)
Mac/Modules/res/Resmodule.c
Mac/Modules/res/ressupport.py

index dd5d75ac5ad1cdb667553b21631350dacd69a6c9..e903158cf126193e84233cebd7ad42ecb4df4c33 100644 (file)
@@ -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" */
 
index 8c899f0410210047cfe6cf539d9c9651688ee680..4b4bd2f90d7773d9836ffa1f39abf48844e299d4 100644 (file)
@@ -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" */
 """