summaryrefslogtreecommitdiffstats
path: root/Modules/pcre.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/pcre.h')
-rw-r--r--Modules/pcre.h2
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 */