Commit 01317c2c authored by Michael Jerris's avatar Michael Jerris
Browse files

Fix compilation on msvc when using newer SDK that has IPV6 included instead of using the preview

darcs-hash:20060824165258-11237-a5762c25c4ae2d9ac9b1f213b1465787ff7ff2ea.gz
parent bc00ea8e
......@@ -65,6 +65,7 @@ typedef unsigned _int32 uint32_t;
#if HAVE_WINSOCK2_H
#include <winsock2.h>
#include <ws2tcpip.h>
#if !defined(IPPROTO_IPV6)
#if HAVE_SIN6
#include <tpipv6.h>
#else
......@@ -75,6 +76,7 @@ struct sockaddr_storage {
};
#endif
#endif
#endif
#else
#define closesocket(s) close(s)
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment