summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index a1ec7cba1d..1269bc1569 100644
--- a/main/php.h
+++ b/main/php.h
@@ -108,6 +108,10 @@ size_t strlcat(char *dst, const char *src, size_t siz);
char *strtok_r(char *s, const char *delim, char **last);
#endif
+#ifndef HAVE_SOCKLEN_T
+typedef unsigned int socklen_t;
+#endif
+
#include "request_info.h"
#if HAVE_LIBDL