fix iptable aligment problem for (at least) cris
[openwrt/crisos.git] / toolchain / glibc-ports / patches / 2.7 / 104-arm_nptl_lowlevellock.patch
blob047f786cf6c48634fcb3e60e1d03bbdf85f4cb6a
1 http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
3 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
4 --- glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h.orig 2008-10-04 20:46:13.000000000 +0200
5 +++ glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 2008-10-04 20:45:40.000000000 +0200
6 @@ -25,6 +25,7 @@
7 #include <atomic.h>
8 #include <sysdep.h>
9 #include <kernel-features.h>
10 +#include <tls.h>
12 #define FUTEX_WAIT 0
13 #define FUTEX_WAKE 1