aboutsummaryrefslogtreecommitdiff
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
parentebef225f4d824e45982955fe2a3cceb4f8cbae0e (diff)
downloadgcc-726f49c3d91b358735f49d398ee42fe2aae448d6.zip
gcc-726f49c3d91b358735f49d398ee42fe2aae448d6.tar.gz
gcc-726f49c3d91b358735f49d398ee42fe2aae448d6.tar.bz2
[mips] Fix linux header use in libgcc
libgcc/ * config/mips/linux-unwind.h: Use sys/syscall.h. From-SVN: r239759
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/config/mips/linux-unwind.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index b78c4b2..99bd2f1 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * config/mips/linux-unwind.h: Use sys/syscall.h.
+
2016-08-16 Joseph Myers <joseph@codesourcery.com>
PR libgcc/77265
diff --git a/libgcc/config/mips/linux-unwind.h b/libgcc/config/mips/linux-unwind.h
index bf12de5..4035c12 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