summaryrefslogtreecommitdiffstats
path: root/test/test_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_state.c')
-rw-r--r--test/test_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_state.c b/test/test_state.c
index acca4e9..5a2e5cb 100644
--- a/test/test_state.c
+++ b/test/test_state.c
@@ -32,7 +32,6 @@
# define mkdir(path, flags) _mkdir(path)
#else
# include <sys/stat.h>
-# include <unistd.h>
#endif
#include <assert.h>
@@ -561,7 +560,7 @@ main(void)
lilv_state_free(fstate7);
lilv_state_free(fstate72);
- rmdir("state");
+ lilv_remove("state");
// Free URI map
for (size_t i = 0; i < n_uris; ++i) {