Fixed windows include files in pcap support.

This commit is contained in:
Andreas Schneider
2010-05-12 13:39:00 +02:00
parent da9b2e25f6
commit 45857bc606

View File

@@ -24,7 +24,9 @@
#ifdef WITH_PCAP
#include <stdio.h>
#ifndef _WIN32
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <sys/time.h>
#include <sys/socket.h>
#endif