From 27c0221dc953304f2845856fec7091d6b9ab9c8a Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 30 Mar 2011 09:46:56 +0000 Subject: [PATCH] - not used on win --- ext/sockets/sockets.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 524684e06b..0c6f292f38 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -2441,8 +2441,10 @@ PHP_FUNCTION(socket_import_stream) PHP_SOCKET socket; /* fd */ php_sockaddr_storage addr; socklen_t addr_len = sizeof(addr); +#ifndef PHP_WIN32 int t; - +#endif + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &zstream) == FAILURE) { return; } -- 2.50.1