about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sem_trywait.c')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sem_trywait.c1
1 files changed, 1 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>