From dace2eca0344c25c3bd383e4cdb58e9c323d72ef Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 23 Apr 2002 03:01:30 +0000 Subject: Part 4 of apache sapi build fixes: - Fixed many conflicts caused by bogus includes, e.g the infamous XtOffset redefinition warning is gone now. --- sapi/apache/php_apache.c | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) (limited to 'sapi/apache/php_apache.c') diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index 4fff27fae1..b1a5b0e6d3 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -19,37 +19,7 @@ */ /* $Id$ */ -#define NO_REGEX_EXTRA_H - -#ifdef WIN32 -#include -#include -#endif - -#include "php.h" -#include "ext/standard/head.h" -#include "php_globals.h" -#include "php_ini.h" -#include "SAPI.h" -#include "mod_php4.h" -#include "ext/standard/info.h" - -#include -#if HAVE_UNISTD_H -#include -#endif -#include -#include -#include - #include "php_apache_http.h" -#include "http_request.h" - -#ifdef ZTS -int php_apache_info_id; -#else -php_apache_info_struct php_apache_info; -#endif #ifdef PHP_WIN32 #include "zend.h" @@ -58,6 +28,12 @@ php_apache_info_struct php_apache_info; #include "build-defs.h" #endif +#ifdef ZTS +int php_apache_info_id; +#else +php_apache_info_struct php_apache_info; +#endif + #define SECTION(name) PUTS("

" name "

\n") extern module *top_module; -- cgit v1.2.1