summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-04-05 17:33:55 +0000
committerfoobar <sniper@php.net>2003-04-05 17:33:55 +0000
commit78365069f00853c9abecc7cad86a5899d24b3207 (patch)
treec25bb6479cf9b23f6ec5c53547eb0470e9ee9698 /ext/sockets
parenta8711474c06236d35533afa848a88099f51d0b34 (diff)
downloadphp-git-78365069f00853c9abecc7cad86a5899d24b3207.tar.gz
Better ifdef it out here too
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/php_sockets.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h
index e8b2cf88c2..c31c0a78fe 100644
--- a/ext/sockets/php_sockets.h
+++ b/ext/sockets/php_sockets.h
@@ -70,7 +70,9 @@ PHP_FUNCTION(socket_recv);
PHP_FUNCTION(socket_send);
PHP_FUNCTION(socket_recvfrom);
PHP_FUNCTION(socket_sendto);
+#ifdef HAVE_CMSGHDR
PHP_FUNCTION(socket_recvmsg);
+#endif
PHP_FUNCTION(socket_sendmsg);
PHP_FUNCTION(socket_readv);
PHP_FUNCTION(socket_writev);