diff options
Diffstat (limited to 'app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch')
-rw-r--r-- | app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch b/app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch index 0f902f060f86..abd1b663496d 100644 --- a/app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch +++ b/app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch @@ -1,10 +1,12 @@ --- a/am/ax_compile_check_rettype.m4 +++ b/am/ax_compile_check_rettype.m4 -@@ -70,6 +70,7 @@ AC_CACHE_VAL(AC_CV_NAME, +@@ -70,6 +70,9 @@ AC_CACHE_VAL(AC_CV_NAME, [for ac_type in char short int long "long long" $4 do AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ++#ifdef HAVE_SYS_SYSMACROS_H +#include <sys/sysmacros.h> ++#endif #include <sys/types.h> $3 ]], [[switch (0) case 0: case (sizeof ($1($2)) == sizeof ($ac_type)):;]])], [AC_CV_NAME=$ac_type]) |