From 8d0bc4a8044d667bf2514f57f853dab86e91eb1c Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 4 Feb 2020 19:26:23 -0500 Subject: [PATCH] af_packet: Add some missing includes due to changes in Zeek 3.1 --- src/iosource/af_packet/src/AF_Packet.h | 1 + src/iosource/af_packet/src/Plugin.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/iosource/af_packet/src/AF_Packet.h b/src/iosource/af_packet/src/AF_Packet.h index 6887514316..f1585ce702 100644 --- a/src/iosource/af_packet/src/AF_Packet.h +++ b/src/iosource/af_packet/src/AF_Packet.h @@ -17,6 +17,7 @@ extern "C" { #include // AF_PACKET, etc. #include // SIOCSHWTSTAMP #include // hwtstamp_config +#include } #include "iosource/PktSrc.h" diff --git a/src/iosource/af_packet/src/Plugin.cc b/src/iosource/af_packet/src/Plugin.cc index 475340b2e2..46b9efdfa9 100644 --- a/src/iosource/af_packet/src/Plugin.cc +++ b/src/iosource/af_packet/src/Plugin.cc @@ -1,6 +1,7 @@ #include "Plugin.h" #include "AF_Packet.h" +#include "iosource/Component.h" namespace plugin { namespace Zeek_AF_Packet { Plugin plugin; } }