Jack Jansen, Mac patch:
Include limits.h if we have it.
This commit is contained in:
parent
f12d7a02a0
commit
db67739d4f
@ -22,6 +22,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
|||||||
#include <sys/types.h> /* For size_t */
|
#include <sys/types.h> /* For size_t */
|
||||||
#endif /* DONT_HAVE_SYS_TYPES_H */
|
#endif /* DONT_HAVE_SYS_TYPES_H */
|
||||||
#endif /* !STDC_HEADERS */
|
#endif /* !STDC_HEADERS */
|
||||||
|
#ifdef HAVE_LIMITS_H
|
||||||
|
#include <limits.h>
|
||||||
|
#endif /* HAVE_LIMITS_H */
|
||||||
|
|
||||||
struct arrayobject; /* Forward */
|
struct arrayobject; /* Forward */
|
||||||
|
|
||||||
|
@ -18,6 +18,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
|||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#ifdef HAVE_LIMITS_H
|
||||||
|
#include <limits.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
int PyArg_Parse Py_PROTO((PyObject *, char *, ...));
|
int PyArg_Parse Py_PROTO((PyObject *, char *, ...));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user