summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-26 17:43:32 -0500
committerMike Frysinger <vapier@gentoo.org>2013-01-26 17:43:32 -0500
commit98df9185fdfce0203999edc4d92ac56f38108529 (patch)
tree3f1e96e15d59db94e6e579a5c5e1504aea4cd486 /libc
parent07cca0b20d8cea6efa5519419f2db17030ad0252 (diff)
libc/inet: pull in stddef.h for NULL
Fixes a build error: In file included from libc/inet/recv.c:8:0: libc/inet/socketcalls.c: In function '__recv_nocancel': libc/inet/socketcalls.c:203:57: error: 'NULL' undeclared (first use in this function) Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/socketcalls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c
index 7ee3ac366..1353e9d59 100644
--- a/libc/inet/socketcalls.c
+++ b/libc/inet/socketcalls.c
@@ -4,6 +4,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
+#include <stddef.h>
#include <sys/syscall.h>
#include <sys/socket.h>
#include <cancel.h>