kumquat-buildroot/package/nfs-utils/nfs-utils-0007-sockaddr-h-needs-stddef-h-for-NULL.patch

20 lines
529 B
Diff
Raw Normal View History

[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>