Jack Jansen: Mac Carbon: don't include sys/types if we don't have it

This commit is contained in:
Guido van Rossum 2000-06-28 20:56:30 +00:00
parent 9cb1cabb77
commit 40ced50cb0
1 changed files with 2 additions and 0 deletions

View File

@ -14,7 +14,9 @@
/* Have to include stdlib.h in order to ensure that size_t is defined;
it is needed here for malloc. */
#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <stdlib.h>
/* Allow for C++ users */