diff options
-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, |