From: Guido van Rossum Date: Sat, 1 Jul 2000 01:09:43 +0000 (+0000) Subject: Jack Jansen, Mac patch: X-Git-Tag: v2.0b1~1163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db67739d4f5dc66c8c7659dcd88ada3ef5c818c9;p=python Jack Jansen, Mac patch: Include limits.h if we have it. --- diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 7bc7e738bd..595d930f0d 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 /* For size_t */ #endif /* DONT_HAVE_SYS_TYPES_H */ #endif /* !STDC_HEADERS */ +#ifdef HAVE_LIMITS_H +#include +#endif /* HAVE_LIMITS_H */ struct arrayobject; /* Forward */ diff --git a/Python/getargs.c b/Python/getargs.c index c1a5d6b8e0..b213ba2adb 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 +#ifdef HAVE_LIMITS_H +#include +#endif int PyArg_Parse Py_PROTO((PyObject *, char *, ...));