From: Victor Julien Date: Thu, 15 Nov 2012 11:25:32 +0000 (+0100) Subject: build: reshuffle including headers to fix build on cygwin X-Git-Tag: suricata-1.4rc1~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=506c144c60cd9558b9506512942abc0791666049;p=thirdparty%2Fsuricata.git build: reshuffle including headers to fix build on cygwin --- diff --git a/src/suricata-common.h b/src/suricata-common.h index 20d10a6014..418f960fdf 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -159,6 +159,18 @@ #include #endif +#ifdef HAVE_PCAP_H +#include +#endif + +#ifdef HAVE_PCAP_PCAP_H +#include +#endif + +#ifdef HAVE_PCAP_BPF_H +#include +#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 -#endif - -#ifdef HAVE_PCAP_PCAP_H -#include -#endif - -#ifdef HAVE_PCAP_BPF_H -#include -#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)