From: Jeff Trawick Date: Wed, 26 Jul 2000 18:07:34 +0000 (+0000) Subject: Fix some build issues for dexter: X-Git-Tag: APACHE_2_0_ALPHA_5~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f34f4329b71d4976c3d59b2280bc8baa3afaa402;p=apache Fix some build issues for dexter: . dexter/scoreboard.c needed apr_strings.h to get the right function prototypes . main/mpm_common.c needed to recognize that we were building for dexter; otherwise, no ap_reclaim_child_processes() was compiled and linking failed (It would be nice to standardize on which preprocessor symbols are checked for... mpmname_MPM seems nice enough. Didn't the check for symbol mpmname (no "_MPM") come with mpmt.c?) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85899 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/dexter/scoreboard.c b/server/mpm/dexter/scoreboard.c index 59758c8d9b..ba85fd3c48 100644 --- a/server/mpm/dexter/scoreboard.c +++ b/server/mpm/dexter/scoreboard.c @@ -56,6 +56,7 @@ * University of Illinois, Urbana-Champaign. */ +#include "apr_strings.h" #include "ap_config.h" #include "httpd.h" #include "http_log.h" diff --git a/server/mpm_common.c b/server/mpm_common.c index 1028fc8dbe..a7b46cc5dc 100644 --- a/server/mpm_common.c +++ b/server/mpm_common.c @@ -81,7 +81,7 @@ #include /* for setsockopt prototype */ #endif -#if defined(DEXTER) || defined(MPMT_BEOS_MPM) || defined(BEOS_MPM) +#if defined(DEXTER) || defined(DEXTER_MPM) || defined(MPMT_BEOS_MPM) || defined(BEOS_MPM) #define CHILD_TABLE 1 #define CHILD_INFO_TABLE ap_child_table #elif defined(MPMT_PTHREAD) || defined (PREFORK) || defined(PREFORK_MPM)