mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Include limits.h if we have it.
This commit is contained in:
parent
ee398fa058
commit
41aa8e523d
5 changed files with 15 additions and 0 deletions
|
@ -33,6 +33,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
|||
#include "structmember.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
/* Three symbols from graminit.h are also defined in Python.h, with
|
||||
Py_ prefixes to their names. Python.h can't include graminit.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue