]> granicus.if.org Git - apache/commitdiff
Fix some build issues for dexter:
authorJeff Trawick <trawick@apache.org>
Wed, 26 Jul 2000 18:07:34 +0000 (18:07 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 26 Jul 2000 18:07:34 +0000 (18:07 +0000)
. 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

server/mpm/dexter/scoreboard.c
server/mpm_common.c

index 59758c8d9b4da7b161321f35f4d3ef19f371bd31..ba85fd3c4867ecb84f0909a04b54e06bfc260e97 100644 (file)
@@ -56,6 +56,7 @@
  * University of Illinois, Urbana-Champaign.
  */
 
+#include "apr_strings.h"
 #include "ap_config.h" 
 #include "httpd.h"
 #include "http_log.h"
index 1028fc8dbe47550e876da848df3851514d169c93..a7b46cc5dc573c54e9b6c72fd84f8183ad4d9c19 100644 (file)
@@ -81,7 +81,7 @@
 #include <sys/socket.h> /* 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)