glibc/ARM_glibc-2.10.1-local-lowlevellock.diff

15 lines
410 B
Diff

---
ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h | 1 +
1 file changed, 1 insertion(+)
--- ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
+++ ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
@@ -25,6 +25,7 @@
#include <atomic.h>
#include <sysdep.h>
#include <kernel-features.h>
+#include <tls.h> /* Need THREAD_*, and header.*. */
#define FUTEX_WAIT 0
#define FUTEX_WAKE 1