summaryrefslogtreecommitdiffstats
path: root/byterun/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/unix.c')
-rw-r--r--byterun/unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/byterun/unix.c b/byterun/unix.c
index 62961c40e..d1e29ec39 100644
--- a/byterun/unix.c
+++ b/byterun/unix.c
@@ -25,6 +25,9 @@
#ifdef SUPPORT_DYNAMIC_LINKING
#include <dlfcn.h>
#endif
+#ifdef HAS_UNISTD
+#include <unistd.h>
+#endif
#include "memory.h"
#include "misc.h"
#include "osdeps.h"