summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-utils_mount_network_c
blob: be55fd4b498c05f13a0fc5faf346dd031e2cd282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- nfs-utils-1.3.4.orig/utils/mount/network.c	2016-08-03 20:25:15.000000000 +0200
+++ nfs-utils-1.3.4/utils/mount/network.c	2016-10-20 19:16:18.000000000 +0200
@@ -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>