From: Paul Querna Date: Mon, 27 Oct 2008 00:40:36 +0000 (+0000) Subject: * modules/cache/mod_socache_dbm.c: Fix compile by including unixd.h on operating X-Git-Tag: 2.3.0~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=409a8921e34bbd6fdbdafec8162df75d5c022e9f;p=apache * modules/cache/mod_socache_dbm.c: Fix compile by including unixd.h on operating systems that need it, which is required for for the use of unixd_config inside socache_dbm_init. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708066 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c index 0df9ad6f2e..9901d7ed46 100644 --- a/modules/cache/mod_socache_dbm.c +++ b/modules/cache/mod_socache_dbm.c @@ -34,6 +34,10 @@ #include "ap_socache.h" +#if AP_NEED_SET_MUTEX_PERMS +#include "unixd.h" +#endif + /* Use of the context structure must be thread-safe after the initial * create/init; callers must hold the mutex. */ struct ap_socache_instance_t {