summaryrefslogtreecommitdiff
path: root/patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch')
-rw-r--r--patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch b/patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch
new file mode 100644
index 0000000..20d1c06
--- /dev/null
+++ b/patches/gcc/5.2.0/201-libgcc-remove-unistd-header.patch
@@ -0,0 +1,14 @@
+Upstream status: In progress
+
+Index: b/libgcc/config/nios2/linux-atomic.c
+===================================================================
+--- a/libgcc/config/nios2/linux-atomic.c
++++ b/libgcc/config/nios2/linux-atomic.c
+@@ -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