aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-29 12:59:48 -0400
committerDavid Robillard <d@drobilla.net>2022-05-29 12:59:48 -0400
commit0d9ab7754d21c64d5ed04136ed938affefab82c7 (patch)
treefdf42dfe0faa68725ac048444d7c3609dd63bd20 /src/jalv.c
parentadf542ecfce403ac0bf614612c6054d5aba08c13 (diff)
downloadjalv-0d9ab7754d21c64d5ed04136ed938affefab82c7.tar.gz
jalv-0d9ab7754d21c64d5ed04136ed938affefab82c7.tar.bz2
jalv-0d9ab7754d21c64d5ed04136ed938affefab82c7.zip
Fix build on MacOS
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>