summaryrefslogtreecommitdiffstats
path: root/modules/cache/mod_socache_dbm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/cache/mod_socache_dbm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c
index 7ac48f46c7..79aa279ad8 100644
--- a/modules/cache/mod_socache_dbm.c
+++ b/modules/cache/mod_socache_dbm.c
@@ -95,6 +95,7 @@ static const char *socache_dbm_create(ap_socache_instance_t **context,
return NULL;
}
+#if AP_NEED_SET_MUTEX_PERMS
static int try_chown(apr_pool_t *p, server_rec *s,
const char *name, const char *suffix)
{
@@ -110,6 +111,7 @@ static int try_chown(apr_pool_t *p, server_rec *s,
}
return 0;
}
+#endif
static apr_status_t socache_dbm_init(ap_socache_instance_t *ctx,