diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-06 08:03:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-06 08:03:59 (GMT) |
commit | ee12992547573e074ae531e20327ca1410041fb6 (patch) | |
tree | d4c21491457866a90cefd5bb20adb6780beb8e69 /patches/glibc/2.25/910-typedef-caddr.patch | |
parent | a459a33936a9b71d8dbc147d82c00eef3354cfeb (diff) | |
parent | 8995bb66f0cb73ee000e75475e41c8f88b87f267 (diff) |
Merge pull request #576 from stilor/update-kernel-libc
Update kernel & glibc
Diffstat (limited to 'patches/glibc/2.25/910-typedef-caddr.patch')
-rw-r--r-- | patches/glibc/2.25/910-typedef-caddr.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/glibc/2.25/910-typedef-caddr.patch b/patches/glibc/2.25/910-typedef-caddr.patch new file mode 100644 index 0000000..fc7979b --- /dev/null +++ b/patches/glibc/2.25/910-typedef-caddr.patch @@ -0,0 +1,15 @@ +diff -urN glibc-2.23-orig/posix/sys/types.h glibc-2.23/posix/sys/types.h +--- glibc-2.23-orig/posix/sys/types.h 2016-02-18 12:54:00.000000000 -0500 ++++ glibc-2.23/posix/sys/types.h 2017-01-06 11:40:05.842147165 -0500 +@@ -113,7 +113,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 + |