aboutsummaryrefslogtreecommitdiff
path: root/src/tool_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_sleep.c')
-rw-r--r--src/tool_sleep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_sleep.c b/src/tool_sleep.c
index 67a54435f..e842ba93b 100644
--- a/src/tool_sleep.c
+++ b/src/tool_sleep.c
@@ -23,6 +23,8 @@
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
+#elif defined(HAVE_UNISTD_H)
+# include <unistd.h>
#endif
#ifdef HAVE_POLL_H