summaryrefslogtreecommitdiff
path: root/sys-libs/librpc/files/librpc-20151104-sys-types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/librpc/files/librpc-20151104-sys-types.patch')
-rw-r--r--sys-libs/librpc/files/librpc-20151104-sys-types.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-libs/librpc/files/librpc-20151104-sys-types.patch b/sys-libs/librpc/files/librpc-20151104-sys-types.patch
new file mode 100644
index 000000000..197f5e0e6
--- /dev/null
+++ b/sys-libs/librpc/files/librpc-20151104-sys-types.patch
@@ -0,0 +1,14 @@
+--- librpc-uclibc-a921e3d/rpc/types.h.old 2015-11-04 19:33:16.000000000 +0100
++++ librpc-uclibc-a921e3d/rpc/types.h 2016-08-30 10:08:22.426289916 +0100
+@@ -79,6 +79,11 @@
+ #include <sys/types.h>
+ #endif
+
++#if !defined(__GLIBC__) && !defined(__UCLIBC__)
++typedef gid_t __gid_t;
++typedef uid_t __uid_t;
++#endif
++
+ #include <sys/time.h>
+ #include <sys/param.h>
+