summaryrefslogtreecommitdiff
path: root/packages/glibc/2.28/0000-typedef-caddr.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-09-23 20:58:16 (GMT)
committerAlexey Neyman <stilor@att.net>2018-09-25 06:09:53 (GMT)
commit98834458f12d36fb485f4706625a26d2f7e6c69d (patch)
treec570d5145dbee4daf166593fb95afc63e8f8d27f /packages/glibc/2.28/0000-typedef-caddr.patch
parenteb65ba65ba761f2ff613342498fd58fcefdc606e (diff)
Upgrades. Lots of 'em.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/glibc/2.28/0000-typedef-caddr.patch')
-rw-r--r--packages/glibc/2.28/0000-typedef-caddr.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/2.28/0000-typedef-caddr.patch b/packages/glibc/2.28/0000-typedef-caddr.patch
new file mode 100644
index 0000000..a328da1
--- /dev/null
+++ b/packages/glibc/2.28/0000-typedef-caddr.patch
@@ -0,0 +1,17 @@
+---
+ posix/sys/types.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/posix/sys/types.h
++++ b/posix/sys/types.h
+@@ -112,7 +112,10 @@
+ #ifdef __USE_MISC
+ # ifndef __daddr_t_defined
+ typedef __daddr_t daddr_t;
++# if ! defined(caddr_t) && ! defined(__caddr_t_defined)
+ typedef __caddr_t caddr_t;
++# define __caddr_t_defined
++# endif
+ # define __daddr_t_defined
+ # endif
+ #endif