summaryrefslogtreecommitdiff
path: root/package/gcc/patches/5.4.0/fix-m86k-libgcc.patch
blob: e8481d54964853425b9b2289fd8f24fc013ed049 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -Nur gcc-4.9.3.orig/libgcc/config/m68k/linux-atomic.c gcc-4.9.3/libgcc/config/m68k/linux-atomic.c
--- gcc-4.9.3.orig/libgcc/config/m68k/linux-atomic.c	2014-01-02 23:25:22.000000000 +0100
+++ gcc-4.9.3/libgcc/config/m68k/linux-atomic.c	2015-11-29 14:42:10.566143595 +0100
@@ -33,7 +33,6 @@
    using the kernel helper defined below.  There is no support for
    64-bit operations yet.  */
 
-#include <asm/unistd.h>
 #include <stdbool.h>
 
 #ifndef __NR_atomic_cmpxchg_32