summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/io.c b/io.c
index 0d97b16e6a..58634bbc58 100644
--- a/io.c
+++ b/io.c
@@ -72,6 +72,10 @@
#endif
#ifdef HAVE_UNISTD_H
+#ifdef HAVE_SYSCALL_H
+#include <syscall.h>
+#endif
+
#include <unistd.h>
#endif