summaryrefslogtreecommitdiff
path: root/user/libtirpc/musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/libtirpc/musl.patch')
-rw-r--r--user/libtirpc/musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/libtirpc/musl.patch b/user/libtirpc/musl.patch
new file mode 100644
index 000000000..5a4fb04f5
--- /dev/null
+++ b/user/libtirpc/musl.patch
@@ -0,0 +1,11 @@
+--- ./tirpc/rpc/types.h.orig 2018-03-17 10:23:10.022055255 +0100
++++ ./tirpc/rpc/types.h 2018-03-17 10:23:30.877751656 +0100
+@@ -66,7 +66,7 @@
+ #define mem_free(ptr, bsize) free(ptr)
+
+
+-#if defined __APPLE_CC__ || defined __FreeBSD__
++#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined(__GLIBC__)
+ # define __u_char_defined
+ # define __daddr_t_defined
+ #endif