nfs-utils: fix build failure caused by missing include
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 13 Sep 2013 09:06:43 +0000 (11:06 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 13 Sep 2013 09:06:43 +0000 (11:06 +0200)
Fixes http://autobuild.buildroot.net/results/a7fabcf61d56bca4bb005a91f8f367ffc8474ea0/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/nfs-utils/nfs-utils-0007-sockaddr-h-needs-stddef-h-for-NULL.patch [new file with mode: 0644]

diff --git a/package/nfs-utils/nfs-utils-0007-sockaddr-h-needs-stddef-h-for-NULL.patch b/package/nfs-utils/nfs-utils-0007-sockaddr-h-needs-stddef-h-for-NULL.patch
new file mode 100644 (file)
index 0000000..8fcf1dd
--- /dev/null
@@ -0,0 +1,19 @@
+[PATCH] sockaddr.h: needs stddef.h for NULL
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ support/include/sockaddr.h |    1 +
+ 1 file changed, 1 insertion(+)
+
+Index: nfs-utils-1.2.6/support/include/sockaddr.h
+===================================================================
+--- nfs-utils-1.2.6.orig/support/include/sockaddr.h
++++ nfs-utils-1.2.6/support/include/sockaddr.h
+@@ -25,6 +25,7 @@
+ #include <libio.h> 
+ #endif
+ #include <stdbool.h>
++#include <stddef.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>