summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index bed1a3d..e573a58 100644
--- a/src/util.c
+++ b/src/util.c
@@ -7,6 +7,7 @@
#include "lilv/lilv.h"
#include "serd/serd.h"
#include "zix/allocator.h"
+#include "zix/filesystem.h"
#include "zix/path.h"
#include <sys/stat.h>
@@ -271,7 +272,7 @@ lilv_get_latest_copy(const char* path, const char* copy_path)
LILV_ERRORF("stat(%s) (%s)\n", path, strerror(errno));
}
- lilv_dir_for_each(copy_dir, &latest, update_latest);
+ zix_dir_for_each(copy_dir, &latest, update_latest);
free(latest.pattern);
free(copy_dir);