mirror of https://github.com/python/cpython
Added #include <string.h> for memcpy()
This commit is contained in:
parent
69b43ed5bc
commit
eaf3c9bed7
|
@ -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" */
|
||||||
|
|
||||||
|
|
|
@ -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" */
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue