diff options
author | Shane Caraveo <shane@php.net> | 2000-04-30 04:15:26 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2000-04-30 04:15:26 +0000 |
commit | 8d3ce80f48fa7f9e7b15d6e4521c73db622bce67 (patch) | |
tree | 0c666b81497c16c96b65c33b6f521d1d1ea4075d /sapi/apache/php_apache.c | |
parent | 953fe189dacec1f3079f1c2c043b6644725b643e (diff) | |
download | php-git-8d3ce80f48fa7f9e7b15d6e4521c73db622bce67.tar.gz |
apache module now compiles under win32, apache loads, but crashes on line 1167 main.c on page request
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r-- | sapi/apache/php_apache.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index d8aab5ef2d..b75f2c5f16 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -21,6 +21,11 @@ #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" @@ -39,7 +44,13 @@ #include "php_apache_http.h" #include "http_request.h" + +#ifdef PHP_WIN32 +#include "zend.h" +#include "ap_compat.h" +#else #include "build-defs.h" +#endif #define SECTION(name) PUTS("<H2>" name "</H2>\n") |