summaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r--tests/libtest/test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index 4f2af415a..4806375a0 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -36,6 +36,8 @@
#ifdef HAVE_SYS_SELECT_H
/* since so many tests use select(), we can just as well include it here */
#include <sys/select.h>
+#elif defined(HAVE_UNISTD_H)
+#include <unistd.h>
#endif
#ifdef TPF