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/sapi_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/sapi_apache.c')
| -rw-r--r-- | sapi/apache/sapi_apache.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sapi/apache/sapi_apache.c b/sapi/apache/sapi_apache.c index d9fcb71722..460eabd1d1 100644 --- a/sapi/apache/sapi_apache.c +++ b/sapi/apache/sapi_apache.c @@ -22,6 +22,11 @@ /* $Id$ */ #define NO_REGEX_EXTRA_H +#ifdef WIN32 +#include <winsock2.h> +#define PHP_EXPORTS +#include <stddef.h> +#endif #include "php.h" @@ -54,6 +59,7 @@ #include "php_version.h" /*#include "mod_php4.h"*/ + PHPAPI int apache_php_module_main(request_rec *r, int fd, int display_source_mode SLS_DC) { zend_file_handle file_handle; |
