From 0758e4c32bfd23fde33ca50d88fde2f16dc67df3 Mon Sep 17 00:00:00 2001 From: Douglas Peer Date: Mon, 7 Jan 2019 11:31:53 -0500 Subject: [PATCH] fix windows winsock2.h include issue by including pcap.h first --- include/tins/tins.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/tins/tins.h b/include/tins/tins.h index 058941d8..652e6804 100644 --- a/include/tins/tins.h +++ b/include/tins/tins.h @@ -30,6 +30,9 @@ #ifndef TINS_TINS_H #define TINS_TINS_H +#ifdef TINS_HAVE_PCAP +#include +#endif #include #include #include