From: Guido van Rossum Date: Wed, 28 Jun 2000 20:56:30 +0000 (+0000) Subject: Jack Jansen: Mac Carbon: don't include sys/types if we don't have it X-Git-Tag: v2.0b1~1356 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40ced50cb0ceddbaab5aef006399caeb49b22919;p=thirdparty%2FPython%2Fcpython.git Jack Jansen: Mac Carbon: don't include sys/types if we don't have it --- diff --git a/Modules/pcre.h b/Modules/pcre.h index 347ca72175f2..36068239c0b2 100644 --- a/Modules/pcre.h +++ b/Modules/pcre.h @@ -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 +#endif #include /* Allow for C++ users */