[git commit] libc/inet: pull in stddef.h for NULL
Mike Frysinger
vapier at gentoo.org
Sat Jan 26 22:43:32 UTC 2013
commit: http://git.uclibc.org/uClibc/commit/?id=98df9185fdfce0203999edc4d92ac56f38108529
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
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 at gentoo.org>
---
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 7ee3ac3..1353e9d 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>
More information about the uClibc-cvs
mailing list