nfs-utils: fix musl

This commit is contained in:
Jürgen Buchmüller 2017-02-15 07:43:46 +01:00
parent d58e23ae69
commit cf308476ca
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- utils/mount/network.c 2016-08-03 20:25:15.000000000 +0200
+++ utils/mount/network.c 2017-02-15 07:42:42.811596000 +0100
@@ -38,7 +38,9 @@
#include <sys/socket.h>
#include <sys/wait.h>
#include <sys/stat.h>
+#if defined(__GLIBC__)
#include <linux/in6.h>
+#endif
#include <netinet/in.h>
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>