summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/signal/sigwait.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c
index 917e3d7be..8fd7ea81f 100644
--- a/libc/signal/sigwait.c
+++ b/libc/signal/sigwait.c
@@ -22,6 +22,7 @@
#include <errno.h>
#include <signal.h>
#include <string.h>
+#include <unistd.h>
#ifdef __UCLIBC_HAS_THREADS_NATIVE__
# include <sysdep-cancel.h>