diff options
author | Sascha Schumann <sas@php.net> | 1999-12-30 16:09:17 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-12-30 16:09:17 +0000 |
commit | 5b2ecc5b827823be7f1c2977e9158f6b1462cdb0 (patch) | |
tree | b56d0ca1a7153a4990f5da8c233dee7d6d1f05b2 /main/php.h | |
parent | 701a00d39126f3bfe36b88a31b846d4b6cf67c4e (diff) | |
download | php-git-5b2ecc5b827823be7f1c2977e9158f6b1462cdb0.tar.gz |
Typedef socklen_t, if it is not available
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 4 |
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 |