pthread_sigmask: ensure usleep is declared
[gnulib.git] / lib / pthread_sigmask.c
index 349f7ad..11d549c 100644 (file)
 #include <errno.h>
 #include <stddef.h>
 
+#if PTHREAD_SIGMASK_UNBLOCK_BUG
+# include <unistd.h>
+#endif
+
 int
 pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask)
 #undef pthread_sigmask