Skip to content

Commit 7836506

Browse files
author
foobar
committed
Better ifdef it out here too
1 parent a871147 commit 7836506

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/sockets/php_sockets.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ PHP_FUNCTION(socket_recv);
7070
PHP_FUNCTION(socket_send);
7171
PHP_FUNCTION(socket_recvfrom);
7272
PHP_FUNCTION(socket_sendto);
73+
#ifdef HAVE_CMSGHDR
7374
PHP_FUNCTION(socket_recvmsg);
75+
#endif
7476
PHP_FUNCTION(socket_sendmsg);
7577
PHP_FUNCTION(socket_readv);
7678
PHP_FUNCTION(socket_writev);

0 commit comments

Comments
 (0)