]> granicus.if.org Git - php/commitdiff
fix header include
authorAnatol Belski <ab@php.net>
Thu, 18 Jul 2013 13:28:20 +0000 (15:28 +0200)
committerAnatol Belski <ab@php.net>
Thu, 18 Jul 2013 13:28:20 +0000 (15:28 +0200)
stddef.h is needed to have offsetof macros on windows (at least)

ext/sockets/sockets.c

index b226d94715d1d6ff8d9334679ab5d570bd2f9694..4a2a41b5fd8303651a1db9319c5c4e33e1ce7278 100644 (file)
@@ -64,6 +64,8 @@
 # endif
 #endif
 
+#include <stddef.h>
+
 #include "sockaddr_conv.h"
 #include "multicast.h"
 #include "sendrecvmsg.h"