From 5b2ecc5b827823be7f1c2977e9158f6b1462cdb0 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 30 Dec 1999 16:09:17 +0000 Subject: Typedef socklen_t, if it is not available --- main/php.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main/php.h') 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 -- cgit v1.2.1