summaryrefslogtreecommitdiffstats
path: root/toolchain/glibc-ports/patches/2.7/104-arm_nptl_lowlevellock.patch
blob: 047f786cf6c48634fcb3e60e1d03bbdf85f4cb6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html

diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c
--- glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h.orig	2008-10-04 20:46:13.000000000 +0200
+++ glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h	2008-10-04 20:45:40.000000000 +0200
@@ -25,6 +25,7 @@
 #include <atomic.h>
 #include <sysdep.h>
 #include <kernel-features.h>
+#include <tls.h>
 
 #define FUTEX_WAIT		0
 #define FUTEX_WAKE		1