aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-06 02:10:46 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-07 23:41:30 -0400
commit077b6d91d3c4dce29a9e84ddea3540b22ca53121 (patch)
treeeaf99739d1bde807eea118af9b392c1887176ff6
parent0a1a932b01a639e4083f88e0c3e4c3f8d733cd4f (diff)
downloadglibc-077b6d91d3c4dce29a9e84ddea3540b22ca53121.tar
glibc-077b6d91d3c4dce29a9e84ddea3540b22ca53121.tar.gz
glibc-077b6d91d3c4dce29a9e84ddea3540b22ca53121.tar.bz2
glibc-077b6d91d3c4dce29a9e84ddea3540b22ca53121.zip
microblaze: include unix/sysdep.h
The semi-recent SYSCALL_CANCEL inclusion broke microblaze due to the sysdep.h header not including the unix/sysdep.h header. Include it here like all other ports. (cherry picked from commit 5d5de49c3ccd69f65b801f1ca490a0112d1cbd7d)
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/sysdep.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/microblaze/sysdep.h b/sysdeps/unix/sysv/linux/microblaze/sysdep.h
index 83c0340a25..9d5c542633 100644
--- a/sysdeps/unix/sysv/linux/microblaze/sysdep.h
+++ b/sysdeps/unix/sysv/linux/microblaze/sysdep.h
@@ -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 @@ SYSCALL_ERROR_LABEL_DCL: \
# define PTR_DEMANGLE(var) (void) (var)
#endif /* not __ASSEMBLER__ */
+
+#endif /* _LINUX_MICROBLAZE_SYSDEP_H */