summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-12-28 14:17:38 +0000
committerAntony Dovgal <tony2001@php.net>2006-12-28 14:17:38 +0000
commitfdfa4033883231e3f9327c66b78e0f30046d67ec (patch)
treed85d57034c90f908a0f32e03081cf71b687e7b15 /ext/sockets
parent46a6bd7f9dec644e838371a15ff89fcf4f8c606f (diff)
downloadphp-git-fdfa4033883231e3f9327c66b78e0f30046d67ec.tar.gz
MFH
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/sockets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index db08598cbc..23caf9556c 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -1600,11 +1600,12 @@ PHP_FUNCTION(socket_set_option)
{
zval *arg1, **arg4;
struct linger lv;
- struct timeval tv;
php_socket *php_sock;
int ov, optlen, retval;
#ifdef PHP_WIN32
int timeout;
+#else
+ struct timeval tv;
#endif
long level, optname;
void *opt_ptr;