From 11028f45a783584cf848544e813b2c46c8b5e1c3 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Fri, 8 Nov 2019 12:29:12 -0800 Subject: [PATCH] Fix compile warnings on OpenBSD warning: '__inet_makeaddr' has C-linkage specified, but returns incomplete type 'struct in_addr' which could be incompatible with C --- src/Sessions.cc | 1 + src/analyzer/protocol/dns/DNS.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Sessions.cc b/src/Sessions.cc index d3042784a0..7639152ab0 100644 --- a/src/Sessions.cc +++ b/src/Sessions.cc @@ -3,6 +3,7 @@ #include "zeek-config.h" +#include #include #include diff --git a/src/analyzer/protocol/dns/DNS.cc b/src/analyzer/protocol/dns/DNS.cc index 5c35e4f271..eab5b48461 100644 --- a/src/analyzer/protocol/dns/DNS.cc +++ b/src/analyzer/protocol/dns/DNS.cc @@ -5,6 +5,7 @@ #include #include #include +#include #include #include "NetVar.h"