mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Second part of IIS/nginx merge into M2 trunk.
This commit is contained in:
@@ -30,8 +30,15 @@
|
||||
|
||||
#ifdef WIN32
|
||||
#include <ws2tcpip.h>
|
||||
// This is a trick: for ModSecurity modules this will declare inet_pton,
|
||||
// but for mymodule.cpp (IIS module) this will skip, because we include
|
||||
// windows.h before including msc_util.h
|
||||
// Without the trick we have redefinition conflict.
|
||||
//
|
||||
#if !(NTDDI_VERSION >= NTDDI_VISTA)
|
||||
int DSOLOCAL inet_pton(int family, const char *src, void *dst);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
char DSOLOCAL *m_strcasestr(const char *haystack, const char *needle);
|
||||
|
||||
|
Reference in New Issue
Block a user