From: Jack Jansen Date: Fri, 15 Aug 1997 14:36:45 +0000 (+0000) Subject: Added #include for memcpy() X-Git-Tag: v1.5a3~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eaf3c9bed79cc6d509ac40fadaae93e5fcdcc0b9;p=thirdparty%2FPython%2Fcpython.git Added #include for memcpy() --- diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c index dd5d75ac5ad1..e903158cf126 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 8c899f041021..4b4bd2f90d77 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" */ """