#include <sys/socket.h>
#endif /* _WIN32 */
-/*
- * XXX - why was this included even on UNIX?
- */
-#ifdef __MINGW32__
-#include "ip6_misc.h"
-#endif
-
#ifndef _WIN32
#ifdef __NetBSD__
* a separate -lpthread, we might not want to do that.
*/
#ifdef _WIN32
- extern int wsockinit (void);
static int done = 0;
if (!done)
- wsockinit();
+ pcap_wsockinit();
done = 1;
EnterCriticalSection(&g_PcapCompileCriticalSection);
#endif