Include atomic.h in sem_wait.c and sem_trywait.c