summaryrefslogtreecommitdiff
path: root/package/nfs-utils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-29 19:20:53 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-29 19:21:01 +0200
commit689658b9440e5b3c2c063a4efa40e003ef358975 (patch)
treee0bbb7bf54b348facb3fc8503e1263123f41c06f /package/nfs-utils
parent5fc40302928482e17a3a8ea24a03ebd86037960d (diff)
nfs-utils: fix glibc build
Diffstat (limited to 'package/nfs-utils')
-rw-r--r--package/nfs-utils/patches/patch-utils_mount_network_c8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/nfs-utils/patches/patch-utils_mount_network_c b/package/nfs-utils/patches/patch-utils_mount_network_c
index fe8400b26..be55fd4b4 100644
--- a/package/nfs-utils/patches/patch-utils_mount_network_c
+++ b/package/nfs-utils/patches/patch-utils_mount_network_c
@@ -1,10 +1,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-08 18:01:13.000000000 +0200
-@@ -38,7 +38,6 @@
++++ 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>
--#include <linux/in6.h>
++#if defined(__GLIBC__)
+ #include <linux/in6.h>
++#endif
#include <netinet/in.h>
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>