]> granicus.if.org Git - apache/commitdiff
Don't directly include ap_config_auto.h directly. It isn't available on
authorGreg Stein <gstein@apache.org>
Thu, 1 Mar 2001 00:55:03 +0000 (00:55 +0000)
committerGreg Stein <gstein@apache.org>
Thu, 1 Mar 2001 00:55:03 +0000 (00:55 +0000)
Windows platforms. Including ap_config.h will pick it up, or it will grab
the appropriate Windows header/defines.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88402 13f79535-47bb-0310-9956-ffa450edef68

include/mpm_common.h
modules/aaa/mod_auth_digest.c
support/suexec.c

index feeebbaff157b8b1ce3218c1c66f687e2f842e1d..4a769574c09fce21d635ae2be04d09685e2ecb50 100644 (file)
@@ -70,9 +70,7 @@
 #ifndef APACHE_MPM_COMMON_H
 #define APACHE_MPM_COMMON_H
 
-#ifndef WIN32
-#include "ap_config_auto.h"
-#endif
+#include "ap_config.h"
 
 #ifdef HAVE_NETINET_TCP_H
 #include <netinet/tcp.h>    /* for TCP_NODELAY */
index f5b30098561ee6b6540a79070de2777bb6b41034..e532b96826304c874b1f6a788fe3849080daa021 100644 (file)
  *   - expired nonces give amaya fits.  
  */
 
-#ifndef WIN32
-#include "ap_config_auto.h"
-#endif
-#include "httpd.h"
-#include "http_config.h"
-#include "http_core.h"
-#include "http_request.h"
-#include "http_log.h"
-#include "http_protocol.h"
-#include "util_uri.h"
-#include "util_md5.h"
 #include "apr_sha1.h"
 #include "apr_base64.h"
 #include "apr_lib.h"
 #include "apr_errno.h"
 #include "apr_lock.h"
 #include "apr_strings.h"
+
 #define APR_WANT_STRFUNC
 #include "apr_want.h"
 
+#include "ap_config.h"
+#include "httpd.h"
+#include "http_config.h"
+#include "http_core.h"
+#include "http_request.h"
+#include "http_log.h"
+#include "http_protocol.h"
+#include "util_uri.h"
+#include "util_md5.h"
+
 #if APR_HAS_SHARED_MEMORY
 #include "apr_shmem.h"
 #else
@@ -151,7 +151,7 @@ apr_status_t apr_shm_open(apr_shmem_t *c) {
 apr_status_t apr_shm_avail(apr_shmem_t *c, apr_size_t *avail) {
     return APR_ENOTIMPL;
 }
-#endif
+#endif /* APR_HAS_SHARED_MEMORY */
 
 
 /* struct to hold the configuration info */
index c15a266d0cd5e7f69cc12fd9d4376747f98725d0..234668dcbb0c6a99872e945f2cef6ab3a906d954 100644 (file)
 #include <stdlib.h>
 
 #include "suexec.h"
-#include "ap_config_auto.h"
 
-#if HAVE_PWD_H
+#ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
 
-#if HAVE_GRP_H
+#ifdef HAVE_GRP_H
 #include <grp.h>
 #endif