Skip to content

Commit

Permalink
fix windows winsock2.h include issue by including pcap.h first
Browse files Browse the repository at this point in the history
  • Loading branch information
douglaspeer committed May 31, 2019
1 parent de247fc commit 0758e4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/tins/tins.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
#ifndef TINS_TINS_H
#define TINS_TINS_H

#ifdef TINS_HAVE_PCAP
#include <pcap.h>
#endif
#include <tins/dns.h>
#include <tins/arp.h>
#include <tins/bootp.h>
Expand Down

0 comments on commit 0758e4c

Please sign in to comment.