add patch fixing mips libgcc_eh build not to depend on kernel headers

This commit is contained in:
Rich Felker 2016-04-11 02:42:07 +00:00
parent 43bdd7fc19
commit 0a16a12799
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- libgcc/config/mips/linux-unwind.h.orig 2016-04-07 23:08:58.088577977 +0000
+++ libgcc/config/mips/linux-unwind.h 2016-04-07 23:04:34.016523639 +0000
@@ -27,7 +27,7 @@
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