diff options
Diffstat (limited to 'byterun/sys.c')
-rw-r--r-- | byterun/sys.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/byterun/sys.c b/byterun/sys.c index d56b00a2f..957885fad 100644 --- a/byterun/sys.c +++ b/byterun/sys.c @@ -20,8 +20,10 @@ #include <string.h> #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #include "config.h" +#ifdef HAS_UNISTD +#include <unistd.h> +#endif #include "alloc.h" #include "fail.h" #include "instruct.h" |