diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-01 21:53:30 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-01 21:53:30 +0000 |
commit | 7ffb604a2f1f992870861d772d2879f59cf7a58a (patch) | |
tree | 17036a33b500972a312f1a5b2c75bee313f4b4d1 /include/asterisk/compat.h | |
parent | b05e64ed12fdf0c73938d517c7d09f17911d6226 (diff) |
issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/compat.h')
-rwxr-xr-x | include/asterisk/compat.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index fc4791b9c..fb6a5d59f 100755 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -63,8 +63,12 @@ int unsetenv(const char *name); #ifdef __CYGWIN__ #define _WIN32_WINNT 0x0500 -#include <windows.h> -#include <w32api/ws2tcpip.h> +#ifndef INET_ADDRSTRLEN +#define INET_ADDRSTRLEN 16 +#endif +#ifndef INET6_ADDRSTRLEN +#define INET6_ADDRSTRLEN 46 +#endif #endif /* __CYGWIN__ */ #define HAVE_VASPRINTF |