]> granicus.if.org Git - python/commitdiff
Jack Jansen: Mac Carbon: don't include sys/types if we don't have it
authorGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 20:56:30 +0000 (20:56 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 20:56:30 +0000 (20:56 +0000)
Modules/pcre.h

index 347ca72175f24caa5317118c215a277a19f3d8df..36068239c0b2b65d04353f312fd1336adc746381 100644 (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 */