musl-cross-make/patches/gcc-4.8.5/mips-unwind.diff

13 lines
427 B
Diff

--- 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