Browse Source

nptl: i386 needs atomic.h for atomic_exchange_acq

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 14 years ago
parent
commit
a7642511b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h

+ 1 - 0
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