diff options
Diffstat (limited to 'test/test.lv2/test.c')
-rw-r--r-- | test/test.lv2/test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test.lv2/test.c b/test/test.lv2/test.c index 2850f0e..30677f1 100644 --- a/test/test.lv2/test.c +++ b/test/test.lv2/test.c @@ -27,6 +27,11 @@ #include "lv2/lv2plug.in/ns/ext/urid/urid.h" #include "lv2/lv2plug.in/ns/lv2core/lv2.h" +#ifdef _WIN32 +# include <io.h> +# define mkstemp(pat) _mktemp(pat) +#endif + #define TEST_URI "http://example.org/lilv-test-plugin" #define TMP_TEMPLATE "lilv_testXXXXXX" |