summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.9.3/fix-nios2.patch
blob: 8fe2589ce9259f48028ae70e877f9e36fc7e6cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -Nur gcc-4.9.3.orig/libgcc/config/nios2/linux-atomic.c gcc-4.9.3/libgcc/config/nios2/linux-atomic.c
--- gcc-4.9.3.orig/libgcc/config/nios2/linux-atomic.c	2014-01-02 23:25:22.000000000 +0100
+++ gcc-4.9.3/libgcc/config/nios2/linux-atomic.c	2015-12-01 22:50:00.029946306 +0100
@@ -20,7 +20,6 @@
 see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 <http://www.gnu.org/licenses/>.  */
 
-#include <asm/unistd.h>
 #define EFAULT  14
 #define EBUSY   16
 #define ENOSYS  38