diff options
| author | Guido van Rossum <guido@python.org> | 2000-06-28 20:56:30 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2000-06-28 20:56:30 +0000 |
| commit | 40ced50cb0ceddbaab5aef006399caeb49b22919 (patch) | |
| tree | a23352ce7876eb3e57e39149d4a9308121ed8645 /Modules/pcre.h | |
| parent | 9cb1cabb778f2cead5788706fb05c2b05afe9243 (diff) | |
| download | cpython-git-40ced50cb0ceddbaab5aef006399caeb49b22919.tar.gz | |
Jack Jansen: Mac Carbon: don't include sys/types if we don't have it
Diffstat (limited to 'Modules/pcre.h')
| -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 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 */ |
