Skip to content

Commit

Permalink
microblaze: include unix/sysdep.h
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mike Frysinger committed Aug 8, 2015
1 parent 37550cb commit 5d5de49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2015-08-08 Mike Frysinger <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
and delete sys/syscall.h include.

2015-08-07 Joseph Myers <joseph@codesourcery.com>

[BZ #16517]
Expand Down
7 changes: 6 additions & 1 deletion sysdeps/unix/sysv/linux/microblaze/sysdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -305,3 +308,5 @@ SYSCALL_ERROR_LABEL_DCL: \
# define PTR_DEMANGLE(var) (void) (var)

#endif /* not __ASSEMBLER__ */

#endif /* _LINUX_MICROBLAZE_SYSDEP_H */

0 comments on commit 5d5de49

Please sign in to comment.