com php-src: fix header include: ext/sockets/sockets.c
| From: | Anatol Belski | Date: | Thu, 18 Jul 2013 13:28:20 +0000 |
| Subject: | com php-src: fix header include: ext/sockets/sockets.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72694@lists.php.net to get a copy of this message | ||
Commit: d8dd4d9b026b82d11c3623891b5114af76054e59
Author: Anatol Belski <ab@php.net> Thu, 18 Jul 2013 15:28:20 +0200
Parents: cbdf9edebd137e6c07de690e6f301f1a4aea4215
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d8dd4d9b026b82d11c3623891b5114af76054e59
Log:
fix header include
stddef.h is needed to have offsetof macros on windows (at least)
Changed paths:
M ext/sockets/sockets.c
Diff:
diff --git a/ext/sockets/sockets..c b/ext/sockets/sockets.c
index b226d94..4a2a41b 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -64,6 +64,8 @@
# endif
#endif
+#include <stddef.h>
+
#include "sockaddr_conv.h"
#include "multicast.h"
#include "sendrecvmsg.h"