summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches/2.20/sparc-semtrywait.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/glibc/patches/2.20/sparc-semtrywait.patch')
-rw-r--r--toolchain/glibc/patches/2.20/sparc-semtrywait.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/2.20/sparc-semtrywait.patch b/toolchain/glibc/patches/2.20/sparc-semtrywait.patch
new file mode 100644
index 000000000..43af77527
--- /dev/null
+++ b/toolchain/glibc/patches/2.20/sparc-semtrywait.patch
@@ -0,0 +1,11 @@
+diff -Nur glibc-2.20.orig/sysdeps/sparc/sparc32/sem_trywait.c glibc-2.20/sysdeps/sparc/sparc32/sem_trywait.c
+--- glibc-2.20.orig/sysdeps/sparc/sparc32/sem_trywait.c 2014-09-07 10:09:09.000000000 +0200
++++ glibc-2.20/sysdeps/sparc/sparc32/sem_trywait.c 2014-09-13 10:21:44.000000000 +0200
+@@ -22,6 +22,7 @@
+ #include <lowlevellock.h>
+ #include <internaltypes.h>
+ #include <semaphore.h>
++#include <sparc-nptl.h>
+
+ #include <shlib-compat.h>
+