From: Guido van Rossum <guido@python.org> 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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40ced50cb0ceddbaab5aef006399caeb49b22919;p=python 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 347ca72175..36068239c0 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 <sys/types.h> +#endif #include <stdlib.h> /* Allow for C++ users */