diff --git a/bro-config.h.in b/bro-config.h.in index 0937950604..290dd31cae 100644 --- a/bro-config.h.in +++ b/bro-config.h.in @@ -23,6 +23,9 @@ /* Define if you have the header file. */ #cmakedefine HAVE_MEMORY_H +/* Define if you have the header file */ +#cmakedefine HAVE_NETINET_ETHER_H + /* Define if you have the header file. */ #cmakedefine HAVE_NETINET_IF_ETHER_H diff --git a/src/Conn.h b/src/Conn.h index 7609d831b6..e078c763d7 100644 --- a/src/Conn.h +++ b/src/Conn.h @@ -3,6 +3,8 @@ #ifndef conn_h #define conn_h +#include "bro-config.h" + #ifdef HAVE_NETINET_ETHER_H #include #endif