Added #include <string.h> for memcpy()

This commit is contained in:
Jack Jansen 1997-08-15 14:36:45 +00:00
parent 69b43ed5bc
commit eaf3c9bed7
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ extern int BMObj_Convert(PyObject *, BitMapPtr *);
extern PyObject *WinObj_WhichWindow(WindowPtr); extern PyObject *WinObj_WhichWindow(WindowPtr);
#include <Resources.h> #include <Resources.h>
#include <string.h>
#define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */ #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */

View File

@ -25,6 +25,7 @@ class ResMethod(ResMixIn, MethodGenerator): pass
includestuff = includestuff + """ includestuff = includestuff + """
#include <Resources.h> #include <Resources.h>
#include <string.h>
#define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */ #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
""" """