From 689658b9440e5b3c2c063a4efa40e003ef358975 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 29 Oct 2016 19:20:53 +0200 Subject: nfs-utils: fix glibc build --- package/nfs-utils/patches/patch-utils_mount_network_c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'package/nfs-utils') 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 #include #include --#include ++#if defined(__GLIBC__) + #include ++#endif #include #include #include -- cgit v1.2.3