From 4989cdda4b8ef7b1088ee0f0b29197b74ba378f0 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Sat, 22 Nov 2014 16:19:38 +0100 Subject: more win32 related fixes --- execute.c | 7 ++++++- post_handler.c | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/execute.c b/execute.c index d2034f6..db4a88d 100644 --- a/execute.c +++ b/execute.c @@ -24,7 +24,6 @@ #endif #include -#include #include "php.h" #include "php_ini.h" #include "zend_hash.h" @@ -40,9 +39,15 @@ #include "sha256.h" #ifdef PHP_WIN32 +# ifdef HAVE_FNMATCH +# include "win32/fnmatch.h" +# endif # include "win32/winutil.h" # include "win32/time.h" #else +# ifdef HAVE_FNMATCH +# include +# endif # include #endif diff --git a/post_handler.c b/post_handler.c index 8daf055..ba2ff8f 100644 --- a/post_handler.c +++ b/post_handler.c @@ -34,6 +34,9 @@ #include "ext/standard/url.h" #include "ext/standard/php_smart_str.h" +#ifdef PHP_WIN32 +#include "win32/php_inttypes.h" +#endif SAPI_POST_HANDLER_FUNC(suhosin_rfc1867_post_handler); -- cgit v1.3