summaryrefslogtreecommitdiffstats
path: root/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux.c')
-rw-r--r--linux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux.c b/linux.c
index caf06b9f8..3ffd997a1 100644
--- a/linux.c
+++ b/linux.c
@@ -164,6 +164,11 @@ void *subsurface_opendir(const char *path)
return (void *)opendir(path);
}
+int subsurface_access(const char *path, int mode)
+{
+ return access(path, mode);
+}
+
struct zip *subsurface_zip_open_readonly(const char *path, int flags, int *errorp)
{
return zip_open(path, flags, errorp);