aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jalv.c b/src/jalv.c
index f468b19..466bbf6 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -57,6 +57,8 @@
#ifdef _WIN32
# include <io.h> // for _mktemp
# define snprintf _snprintf
+#else
+# include <unistd.h>
#endif
#include <assert.h>