Jack Jansen, Mac patch:

Include limits.h if we have it.
This commit is contained in:
Guido van Rossum 2000-07-01 01:09:43 +00:00
parent f12d7a02a0
commit db67739d4f
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#include <sys/types.h> /* For size_t */
#endif /* DONT_HAVE_SYS_TYPES_H */
#endif /* !STDC_HEADERS */
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif /* HAVE_LIMITS_H */
struct arrayobject; /* Forward */

View File

@ -18,6 +18,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#include "Python.h"
#include <ctype.h>
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
int PyArg_Parse Py_PROTO((PyObject *, char *, ...));