about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-04-22 16:57:49 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-04-22 16:57:49 +0530
commit766c4a363d5487dde04bb5e968c3db8b383ec3c2 (patch)
treec4b6fabacb18b7a29fb79269c82ae244bc31a1cc /nptl
parent140cc7abf7d15928b4c4a873d40a73b836685157 (diff)
downloadglibc-766c4a363d5487dde04bb5e968c3db8b383ec3c2.tar.gz
glibc-766c4a363d5487dde04bb5e968c3db8b383ec3c2.tar.xz
glibc-766c4a363d5487dde04bb5e968c3db8b383ec3c2.zip
Include atomic.h in sem_wait.c and sem_trywait.c
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sem_trywait.c1
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sem_wait.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sem_trywait.c b/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
index aa1775aa6d..94c323c18e 100644
--- a/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
+++ b/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
@@ -22,6 +22,7 @@
 #include <lowlevellock.h>
 #include <internaltypes.h>
 #include <semaphore.h>
+#include <atomic.h>
 
 #include <shlib-compat.h>
 
diff --git a/nptl/sysdeps/unix/sysv/linux/sem_wait.c b/nptl/sysdeps/unix/sysv/linux/sem_wait.c
index 7d586cf186..b12babb596 100644
--- a/nptl/sysdeps/unix/sysv/linux/sem_wait.c
+++ b/nptl/sysdeps/unix/sysv/linux/sem_wait.c
@@ -25,6 +25,7 @@
 
 #include <pthreadP.h>
 #include <shlib-compat.h>
+#include <atomic.h>
 
 
 void