summaryrefslogtreecommitdiffstats
path: root/core/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/linux.c')
-rw-r--r--core/linux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/linux.c b/core/linux.c
index bd6bbe2ab..5c9726750 100644
--- a/core/linux.c
+++ b/core/linux.c
@@ -204,6 +204,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);