]> Git Repo - uclibc-ng.git/commitdiff
libc/inet: pull in stddef.h for NULL
authorMike Frysinger <[email protected]>
Sat, 26 Jan 2013 22:43:32 +0000 (17:43 -0500)
committerMike Frysinger <[email protected]>
Sat, 26 Jan 2013 22:43:32 +0000 (17:43 -0500)
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 <[email protected]>
libc/inet/socketcalls.c

index 7ee3ac3661e8e32256150eb4d5c9972b1b95fe2b..1353e9d59e1a9403f8f3364856df5dc8086c1169 100644 (file)
@@ -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>
This page took 0.021942 seconds and 4 git commands to generate.