[git commit branch/0.9.33] inet: add missing include for NULL in socketcalls

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sun Feb 10 16:19:03 UTC 2013


commit: http://git.uclibc.org/uClibc/commit/?id=93ad117709d9559182813729fa4aebef1b7b607b
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.33

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/inet/socketcalls.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c
index aae7e93..45d4432 100644
--- a/libc/inet/socketcalls.c
+++ b/libc/inet/socketcalls.c
@@ -9,6 +9,7 @@
 #include <errno.h>
 #include <syscall.h>
 #include <sys/socket.h>
+#include <stddef.h> /* NULL */
 
 #ifdef __NR_socketcall
 extern int __socketcall(int call, unsigned long *args) attribute_hidden;


More information about the uClibc-cvs mailing list