X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/8488cf7d03366ea9d65c9628802f1c56ec208c3a..439409a38051cc8ec6c04de4faf8aa29d7468936:/server/mount.c diff --git a/server/mount.c b/server/mount.c index 8b1c602..fff1feb 100644 --- a/server/mount.c +++ b/server/mount.c @@ -40,6 +40,7 @@ static int compare_fsstat(const void *av, const void *bv) { } #endif +#if HAVE_GETFSSTAT || defined PATH_MTAB void periodic_mount_check(ev_source *ev_) { if(!config->mount_rescan) return; @@ -88,6 +89,10 @@ void periodic_mount_check(ev_source *ev_) { } #endif } +#else +void periodic_mount_check(ev_source attribute((unused)) *ev_ ) { +} +#endif /* Local Variables: