aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c2
-rw-r--r--src/tool_sleep.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 3c7dd6829..e1c9c6251 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -31,6 +31,8 @@
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
+#elif defined(HAVE_UNISTD_H)
+# include <unistd.h>
#endif
#ifdef __VMS
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