[Python-checkins] CVS: python/dist/src/Modules arraymodule.c,2.45,2.46

Guido van Rossum python-dev@python.org
Fri, 30 Jun 2000 18:09:45 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv24747

Modified Files:
	arraymodule.c 
Log Message:
Jack Jansen, Mac patch:

Include limits.h if we have it.


Index: arraymodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/arraymodule.c,v
retrieving revision 2.45
retrieving revision 2.46
diff -C2 -r2.45 -r2.46
*** arraymodule.c	2000/07/01 00:38:19	2.45
--- arraymodule.c	2000/07/01 01:09:43	2.46
***************
*** 23,26 ****
--- 23,29 ----
  #endif /* DONT_HAVE_SYS_TYPES_H */
  #endif /* !STDC_HEADERS */
+ #ifdef HAVE_LIMITS_H
+ #include <limits.h>
+ #endif /* HAVE_LIMITS_H */
  
  struct arrayobject; /* Forward */