mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Fix FreeBSD/OSX compile problem due to headers
This commit is contained in:
parent
a2423f7d43
commit
800eda4796
3 changed files with 12 additions and 2 deletions
2
cmake
2
cmake
|
@ -1 +1 @@
|
||||||
Subproject commit 0a2b36874ad5c1a22829135f8aeeac534469053f
|
Subproject commit b8b4604f362aa8d4b64e589cbea499a0c041ef24
|
|
@ -3,7 +3,12 @@
|
||||||
#ifndef conn_h
|
#ifndef conn_h
|
||||||
#define conn_h
|
#define conn_h
|
||||||
|
|
||||||
|
#ifdef HAVE_NETINET_ETHER_H
|
||||||
#include <netinet/ether.h>
|
#include <netinet/ether.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_NET_ETHERNET_H
|
||||||
|
#include <net/ethernet.h>
|
||||||
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "Dict.h"
|
#include "Dict.h"
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
#ifndef packet_h
|
#ifndef packet_h
|
||||||
#define 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 "Desc.h"
|
||||||
#include "IP.h"
|
#include "IP.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue