summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches/2.22/sysdep-include-microblaze.patch
blob: 8d02493aff9de3d544d6109fe1302e6a3cdce597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Nur glibc-2.22.orig/sysdeps/unix/sysv/linux/microblaze/sysdep.h glibc-2.22/sysdeps/unix/sysv/linux/microblaze/sysdep.h
--- glibc-2.22.orig/sysdeps/unix/sysv/linux/microblaze/sysdep.h	2015-08-05 08:42:21.000000000 +0200
+++ glibc-2.22/sysdeps/unix/sysv/linux/microblaze/sysdep.h	2015-08-08 10:00:04.148568537 +0200
@@ -16,8 +16,11 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _LINUX_MICROBLAZE_SYSDEP_H
+#define _LINUX_MICROBLAZE_SYSDEP_H 1
+
+#include <sysdeps/unix/sysdep.h>
 #include <sysdeps/microblaze/sysdep.h>
-#include <sys/syscall.h>
 
 /* Defines RTLD_PRIVATE_ERRNO.  */
 #include <dl-sysdep.h>
@@ -305,3 +308,5 @@
 # define PTR_DEMANGLE(var) (void) (var)
 
 #endif /* not __ASSEMBLER__ */
+
+#endif /* _LINUX_MICROBLAZE_SYSDEP_H */