void-packages/srcpkgs/nfs-utils/patches/musl-in6.patch

13 lines
344 B
Diff
Raw Normal View History

2017-02-15 07:43:46 +01:00
--- 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>