diff options
author | Guido van Rossum <guido@python.org> | 2000-06-28 20:56:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-06-28 20:56:30 (GMT) |
commit | 40ced50cb0ceddbaab5aef006399caeb49b22919 (patch) | |
tree | a23352ce7876eb3e57e39149d4a9308121ed8645 | |
parent | 9cb1cabb778f2cead5788706fb05c2b05afe9243 (diff) | |
download | cpython-40ced50cb0ceddbaab5aef006399caeb49b22919.zip cpython-40ced50cb0ceddbaab5aef006399caeb49b22919.tar.gz cpython-40ced50cb0ceddbaab5aef006399caeb49b22919.tar.bz2 |
Jack Jansen: Mac Carbon: don't include sys/types if we don't have it
-rw-r--r-- | Modules/pcre.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/pcre.h b/Modules/pcre.h index 347ca72..3606823 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 */ |