summaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
authornsz <nsz@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-25 14:08:27 +0000
committernsz <nsz@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-25 14:08:27 +0000
commit9cd4503714c4e596818c4ea8e15905c249b7a319 (patch)
tree76ec47aef23f55af6543da4e753c36771d2b84c4 /libgcc/config
parentc4963714b1e4b9af9ecea64fe0e39a6778a39b33 (diff)
downloadgcc-9cd4503714c4e596818c4ea8e15905c249b7a319.tar.gz
[mips] Fix linux header use in libgcc
libgcc/ * config/mips/linux-unwind.h: Use sys/syscall.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config')
-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