build: reshuffle including headers to fix build on cygwin

pull/202/merge
Victor Julien 13 years ago
parent 8660877961
commit 506c144c60

@ -159,6 +159,18 @@
#include <netdb.h>
#endif
#ifdef HAVE_PCAP_H
#include <pcap.h>
#endif
#ifdef HAVE_PCAP_PCAP_H
#include <pcap/pcap.h>
#endif
#ifdef HAVE_PCAP_BPF_H
#include <pcap/bpf.h>
#endif
#ifdef HAVE_WINDOWS_H
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
@ -181,18 +193,6 @@
#define BUG_ON(x)
#endif
#ifdef HAVE_PCAP_H
#include <pcap.h>
#endif
#ifdef HAVE_PCAP_PCAP_H
#include <pcap/pcap.h>
#endif
#ifdef HAVE_PCAP_BPF_H
#include <pcap/bpf.h>
#endif
/* we need this to stringify the defines which are supplied at compiletime see:
http://gcc.gnu.org/onlinedocs/gcc-3.4.1/cpp/Stringification.html#Stringification */
#define xstr(s) str(s)

Loading…
Cancel
Save