tcpreplay: Bump version to v4.2.0
[buildroot-gz.git] / package / uclibc / 0001-fstat-make-new-code-aarch64-specific.patch
blobeb0198d44d5ab080740e7ba71b02748182b759ea
1 From 71127e5cc937878883e6021da3da337a7aa9c099 Mon Sep 17 00:00:00 2001
2 From: Waldemar Brodkorb <wbx@openadk.org>
3 Date: Fri, 3 Feb 2017 06:04:16 +0100
4 Subject: [PATCH 10229/10229] fstat: make new code aarch64 specific
6 The new code get's used by MIPS64 N64 and fails.
7 Make the new code aarch64 specific.
9 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
10 ---
11 libc/sysdeps/linux/common/fstat.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/libc/sysdeps/linux/common/fstat.c b/libc/sysdeps/linux/common/fstat.c
15 index ac77eb2..c27f926 100644
16 --- a/libc/sysdeps/linux/common/fstat.c
17 +++ b/libc/sysdeps/linux/common/fstat.c
18 @@ -21,7 +21,7 @@ int fstat(int fd, struct stat *buf)
20 libc_hidden_def(fstat)
22 -#elif __WORDSIZE == 64 && defined __NR_newfstatat
23 +#elif __WORDSIZE == 64 && defined __NR_newfstatat && __aarch64__
24 #include <fcntl.h>
26 int fstat(int fd, struct stat *buf)
27 --
28 2.1.4