summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-17 19:49:54 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-17 19:49:54 +0200
commita7642511b08b0b8a4012bab67cb8aa554992df6b (patch)
treef2cbbab7f581f21cc7dd86b17c32dca9d3dc4973 /libpthread/nptl/sysdeps
parent7453d422c9b9febd886df0a2fafdea55297328b9 (diff)
nptl: i386 needs atomic.h for atomic_exchange_acq
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
index 55add8b8e..a40d84e75 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
@@ -26,6 +26,7 @@
# include <bits/pthreadtypes.h>
# include <bits/kernel-features.h>
# include <tcb-offsets.h>
+# include <atomic.h>
# ifndef LOCK_INSTR
# ifdef UP