summaryrefslogtreecommitdiffstats
path: root/test/lilv_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lilv_test.c')
-rw-r--r--test/lilv_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 5f879f9..0c48588 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -31,9 +31,11 @@
#ifdef _WIN32
# include <direct.h>
+# include <io.h>
# define mkdir(path, flags) _mkdir(path)
# define setenv(n, v, r) SetEnvironmentVariable((n), (v))
# define unsetenv(n) SetEnvironmentVariable((n), NULL)
+# define mkstemp(pat) _mktemp(pat)
#else
# include <dirent.h>
# include <unistd.h>