Unbreak header issue on Linux again

This commit is contained in:
Johanna Amann 2016-06-02 17:05:42 -07:00
parent 800eda4796
commit 607b51f3b2
2 changed files with 5 additions and 0 deletions

View file

@ -23,6 +23,9 @@
/* Define if you have the <memory.h> header file. */ /* Define if you have the <memory.h> header file. */
#cmakedefine HAVE_MEMORY_H #cmakedefine HAVE_MEMORY_H
/* Define if you have the <netinet/ether.h> header file */
#cmakedefine HAVE_NETINET_ETHER_H
/* Define if you have the <netinet/if_ether.h> header file. */ /* Define if you have the <netinet/if_ether.h> header file. */
#cmakedefine HAVE_NETINET_IF_ETHER_H #cmakedefine HAVE_NETINET_IF_ETHER_H

View file

@ -3,6 +3,8 @@
#ifndef conn_h #ifndef conn_h
#define conn_h #define conn_h
#include "bro-config.h"
#ifdef HAVE_NETINET_ETHER_H #ifdef HAVE_NETINET_ETHER_H
#include <netinet/ether.h> #include <netinet/ether.h>
#endif #endif