diff options
author | Alexey Neyman <stilor@att.net> | 2019-02-14 07:54:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-14 07:54:06 (GMT) |
commit | fb744d81588395a97cee951a151a56501a500e42 (patch) | |
tree | 895628cd0c17103416c97fb4cb4b66ed469428dd /packages/glibc/2.29/0000-typedef-caddr.patch | |
parent | b135af0c4a8a141d537a7e60a989594d354abece (diff) | |
parent | 91d01a0e4750be6ab2b71fb953a48dff88dc469b (diff) |
Merge pull request #1140 from stilor/upgradecrosstool-ng-1.24.0-rc1
Package updates
Diffstat (limited to 'packages/glibc/2.29/0000-typedef-caddr.patch')
-rw-r--r-- | packages/glibc/2.29/0000-typedef-caddr.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/glibc/2.29/0000-typedef-caddr.patch b/packages/glibc/2.29/0000-typedef-caddr.patch new file mode 100644 index 0000000..a328da1 --- /dev/null +++ b/packages/glibc/2.29/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 |