Tiny patch by Mark Hammond to avoid sys/types.h if we don't have it

(for Windows/CE).
This commit is contained in:
Guido van Rossum 1999-08-27 20:33:52 +00:00
parent 8779f648d2
commit 7f1de832a2
1 changed files with 4 additions and 2 deletions

View File

@ -38,9 +38,11 @@ PERFORMANCE OF THIS SOFTWARE.
#ifdef STDC_HEADERS
#include <stddef.h>
#else
#else /* !STDC_HEADERS */
#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h> /* For size_t */
#endif
#endif /* DONT_HAVE_SYS_TYPES_H */
#endif /* !STDC_HEADERS */
struct arrayobject; /* Forward */