summaryrefslogtreecommitdiff
path: root/libgcc/config/mips
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2016-08-25 14:08:27 +0000
committerSzabolcs Nagy <nsz@gcc.gnu.org>2016-08-25 14:08:27 +0000
commit726f49c3d91b358735f49d398ee42fe2aae448d6 (patch)
tree76ec47aef23f55af6543da4e753c36771d2b84c4 /libgcc/config/mips
parentebef225f4d824e45982955fe2a3cceb4f8cbae0e (diff)
downloadgcc-726f49c3d91b358735f49d398ee42fe2aae448d6.tar.gz
[mips] Fix linux header use in libgcc
libgcc/ * config/mips/linux-unwind.h: Use sys/syscall.h. From-SVN: r239759
Diffstat (limited to 'libgcc/config/mips')
-rw-r--r--libgcc/config/mips/linux-unwind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/mips/linux-unwind.h b/libgcc/config/mips/linux-unwind.h
index bf12de5354b..4035c1211db 100644
--- a/libgcc/config/mips/linux-unwind.h
+++ b/libgcc/config/mips/linux-unwind.h
@@ -27,7 +27,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
state data appropriately. See unwind-dw2.c for the structs. */
#include <signal.h>
-#include <asm/unistd.h>
+#include <sys/syscall.h>
/* The third parameter to the signal handler points to something with
* this structure defined in asm/ucontext.h, but the name clashes with