Skip to content

Commit 0758e4c

Browse files
committed
fix windows winsock2.h include issue by including pcap.h first
1 parent de247fc commit 0758e4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/tins/tins.h

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
#ifndef TINS_TINS_H
3131
#define TINS_TINS_H
3232

33+
#ifdef TINS_HAVE_PCAP
34+
#include <pcap.h>
35+
#endif
3336
#include <tins/dns.h>
3437
#include <tins/arp.h>
3538
#include <tins/bootp.h>

0 commit comments

Comments
 (0)