Fix FreeBSD/OSX compile problem due to headers

This commit is contained in:
Johanna Amann 2016-06-02 16:26:54 -07:00
parent a2423f7d43
commit 800eda4796
3 changed files with 12 additions and 2 deletions

View file

@ -1,7 +1,12 @@
#ifndef packet_h
#define packet_h
#include <netinet/ether.h>
#include "bro-config.h"
#include <sys/types.h>
#ifdef HAVE_NET_ETHERNET_H
#include <net/ethernet.h>
#endif
#include "Desc.h"
#include "IP.h"