OSDN Git Service

nptl: i386 needs atomic.h for atomic_exchange_acq
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 17 Jun 2010 17:49:54 +0000 (19:49 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 17 Jun 2010 17:49:54 +0000 (19:49 +0200)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h

index 55add8b..a40d84e 100644 (file)
@@ -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