From 44d39613d32617891d6c512cd97577a5dc9b1f00 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Tue, 8 Jan 2002 21:09:02 +0000 Subject: [PATCH] Added the #ifdef's to the prototypes to match the corresponding source code git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92774 13f79535-47bb-0310-9956-ffa450edef68 --- include/mpm_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/mpm_common.h b/include/mpm_common.h index 435f0a1883..0be3508ed2 100644 --- a/include/mpm_common.h +++ b/include/mpm_common.h @@ -153,6 +153,7 @@ void ap_sock_disable_nagle(apr_socket_t *s); #define ap_sock_disable_nagle(s) /* NOOP */ #endif +#ifdef HAVE_GETPWNAM /** * Convert a username to a numeric ID * @param name The name to convert @@ -160,7 +161,9 @@ void ap_sock_disable_nagle(apr_socket_t *s); * @deffunc uid_t ap_uname2id(const char *name) */ AP_DECLARE(uid_t) ap_uname2id(const char *name); +#endif +#ifdef HAVE_GETGRNAM /** * Convert a group name to a numeric ID * @param name The name to convert @@ -168,6 +171,7 @@ AP_DECLARE(uid_t) ap_uname2id(const char *name); * @deffunc gid_t ap_gname2id(const char *name) */ AP_DECLARE(gid_t) ap_gname2id(const char *name); +#endif #define AP_MPM_HARD_LIMITS_FILE APACHE_MPM_DIR "/mpm_default.h" -- 2.40.0