diff options
author | Wez Furlong <wez@php.net> | 2003-07-02 01:35:39 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-07-02 01:35:39 +0000 |
commit | 989500b347bd9720c1bc0514a642eaf62c984435 (patch) | |
tree | 532f5473ab7792b9f43a3950cd31fad5e2b95aed | |
parent | 1b50ca4df67b0a274cbc92dfeaad647343fb06bd (diff) | |
download | php-git-989500b347bd9720c1bc0514a642eaf62c984435.tar.gz |
socklen_t needs this.
We might need some more magic to ensure that socklen_t gets defined in
the correct places; lets see if any more problems arise...
-rw-r--r-- | main/streams/php_stream_transport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/streams/php_stream_transport.h b/main/streams/php_stream_transport.h index e27e231bdf..7c0f320a9c 100644 --- a/main/streams/php_stream_transport.h +++ b/main/streams/php_stream_transport.h @@ -18,6 +18,10 @@ /* $Id$ */ +#if HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#endif + typedef php_stream *(php_stream_transport_factory_func)(const char *proto, long protolen, char *resourcename, long resourcenamelen, const char *persistent_id, int options, int flags, |