]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
microblaze: include unix/sysdep.h
authorMike Frysinger <vapier@gentoo.org>
Thu, 6 Aug 2015 06:10:46 +0000 (02:10 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 8 Aug 2015 03:41:30 +0000 (23:41 -0400)
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)

sysdeps/unix/sysv/linux/microblaze/sysdep.h

index 83c0340a25575d751dcbbfc64d2baffbfbab86a2..9d5c5426335f86d6fbacdb4daf0ce42595026a75 100644 (file)
    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 */