diff options
-rw-r--r-- | Modules/arraymodule.c | 3 | ||||
-rw-r--r-- | Python/getargs.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 7bc7e73..595d930 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -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 */ diff --git a/Python/getargs.c b/Python/getargs.c index c1a5d6b..b213ba2 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -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 *, ...)); |