summaryrefslogtreecommitdiffstats
path: root/core/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/macos.c')
-rw-r--r--core/macos.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/macos.c b/core/macos.c
index c50ad6a0a..a7272599b 100644
--- a/core/macos.c
+++ b/core/macos.c
@@ -190,6 +190,11 @@ int subsurface_access(const char *path, int mode)
return access(path, mode);
}
+int subsurface_stat(const char* path, struct stat* buf)
+{
+ return stat(path, buf);
+}
+
struct zip *subsurface_zip_open_readonly(const char *path, int flags, int *errorp)
{
return zip_open(path, flags, errorp);