toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / glibc / 2.22 / 0002-microblaze-include-unix-sysdep.h.patch
blob28f4b6e0f1ee913fb7d7ac57c96cbf0e0fc0f5fe
1 From 8415fb8d4f05c023b9d79e44dff197cc285fd1e5 Mon Sep 17 00:00:00 2001
2 From: Mike Frysinger <vapier@gentoo.org>
3 Date: Thu, 6 Aug 2015 02:10:46 -0400
4 Subject: [PATCH] microblaze: include unix/sysdep.h
6 The semi-recent SYSCALL_CANCEL inclusion broke microblaze due to the
7 sysdep.h header not including the unix/sysdep.h header. Include it
8 here like all other ports.
10 (cherry picked from commit 5d5de49c3ccd69f65b801f1ca490a0112d1cbd7d)
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 [edited to remove ChangeLog modifications, which cause conflicts.]
14 ---
15 sysdeps/unix/sysv/linux/microblaze/sysdep.h | 7 ++++++-
16 2 files changed, 12 insertions(+), 1 deletion(-)
18 diff --git a/sysdeps/unix/sysv/linux/microblaze/sysdep.h b/sysdeps/unix/sysv/linux/microblaze/sysdep.h
19 index 83c0340..9d5c542 100644
20 --- a/sysdeps/unix/sysv/linux/microblaze/sysdep.h
21 +++ b/sysdeps/unix/sysv/linux/microblaze/sysdep.h
22 @@ -16,8 +16,11 @@
23 License along with the GNU C Library; if not, see
24 <http://www.gnu.org/licenses/>. */
26 +#ifndef _LINUX_MICROBLAZE_SYSDEP_H
27 +#define _LINUX_MICROBLAZE_SYSDEP_H 1
29 +#include <sysdeps/unix/sysdep.h>
30 #include <sysdeps/microblaze/sysdep.h>
31 -#include <sys/syscall.h>
33 /* Defines RTLD_PRIVATE_ERRNO. */
34 #include <dl-sysdep.h>
35 @@ -305,3 +308,5 @@ SYSCALL_ERROR_LABEL_DCL: \
36 # define PTR_DEMANGLE(var) (void) (var)
38 #endif /* not __ASSEMBLER__ */
40 +#endif /* _LINUX_MICROBLAZE_SYSDEP_H */
41 --
42 2.6.4