gcc 4.8.5: add patch for mips build break in absence of kernel-headers

This commit is contained in:
rofl0r 2015-11-02 15:31:54 +00:00
parent f7512f6b5d
commit f125cfdae5

View File

@ -0,0 +1,12 @@
--- gcc-4.7.4.org/libgcc/config/mips/linux-unwind.h
+++ gcc-4.7.4/libgcc/config/mips/linux-unwind.h
@@ -28,7 +28,8 @@
state data appropriately. See unwind-dw2.c for the structs. */
#include <signal.h>
-#include <asm/unistd.h>
+#include <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