summaryrefslogtreecommitdiff
path: root/server/util_mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/util_mutex.c')
-rw-r--r--server/util_mutex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/util_mutex.c b/server/util_mutex.c
index ac5724551e..ef2ebe1aa7 100644
--- a/server/util_mutex.c
+++ b/server/util_mutex.c
@@ -32,6 +32,7 @@
#include "httpd.h"
#include "http_main.h"
#include "http_config.h"
+#include "http_core.h"
#include "http_log.h"
#include "util_mutex.h"
#if AP_NEED_SET_MUTEX_PERMS
@@ -41,7 +42,9 @@
#include <unistd.h> /* getpid() */
#endif
-APLOG_USE_MODULE(core);
+/* we know core's module_index is 0 */
+#undef APLOG_MODULE_INDEX
+#define APLOG_MODULE_INDEX AP_CORE_MODULE_INDEX
AP_DECLARE(apr_status_t) ap_parse_mutex(const char *arg, apr_pool_t *pool,
apr_lockmech_e *mutexmech,