summaryrefslogtreecommitdiff
path: root/sapi/apache/php_apache.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-04-23 03:01:30 +0000
committerfoobar <sniper@php.net>2002-04-23 03:01:30 +0000
commitdace2eca0344c25c3bd383e4cdb58e9c323d72ef (patch)
treead762ece6d1956e5e6179a503f40cb92caeebbb9 /sapi/apache/php_apache.c
parenteb18c5c38c9335f48a30aa856aa97ff285dd6aef (diff)
downloadphp-git-dace2eca0344c25c3bd383e4cdb58e9c323d72ef.tar.gz
Part 4 of apache sapi build fixes:
- Fixed many conflicts caused by bogus includes, e.g the infamous XtOffset redefinition warning is gone now.
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r--sapi/apache/php_apache.c36
1 files changed, 6 insertions, 30 deletions
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 <winsock2.h>
-#include <stddef.h>
-#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 <stdlib.h>
-#if HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <string.h>
-#include <errno.h>
-#include <ctype.h>
-
#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("<H2 align=\"center\">" name "</H2>\n")
extern module *top_module;