add support for alternative C libraries (currently only glibc/eglibc) other (related...
[openwrt/openwrt.git] / toolchain / eglibc / patches / 2.8 / 104-arm_nptl_lowlevellock.patch
1 diff -ruN eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
2 --- eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2007-09-12 18:26:54.000000000 +0200
3 +++ eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2008-11-04 17:11:21.000000000 +0100
4 @@ -25,6 +25,7 @@
5 #include <atomic.h>
6 #include <sysdep.h>
7 #include <kernel-features.h>
8 +#include <tls.h>
9
10 #define FUTEX_WAIT 0
11 #define FUTEX_WAKE 1