summaryrefslogtreecommitdiffstats
path: root/byterun/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/main.c')
-rw-r--r--byterun/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/byterun/main.c b/byterun/main.c
index 6cd9d8ab7..5ffd899fb 100644
--- a/byterun/main.c
+++ b/byterun/main.c
@@ -17,7 +17,10 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
+#include "config.h"
+#ifdef HAS_UNISTD
#include <unistd.h>
+#endif
#include "alloc.h"
#include "exec.h"
#include "fail.h"