From: Walt Steverson Date: Thu, 1 Jun 2017 17:01:17 +0000 (-0500) Subject: Fix build against musl X-Git-Tag: trac5124a_base~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F50%2Fhead;p=thirdparty%2Fkea.git Fix build against musl --- diff --git a/src/bin/perfdhcp/command_options.cc b/src/bin/perfdhcp/command_options.cc index 9a195343fd..3f110625fe 100644 --- a/src/bin/perfdhcp/command_options.cc +++ b/src/bin/perfdhcp/command_options.cc @@ -22,6 +22,9 @@ #include #include +#ifdef HAVE_OPTRESET +extern int optreset; +#endif using namespace std; using namespace isc; diff --git a/src/lib/dhcp/pkt_filter_lpf.cc b/src/lib/dhcp/pkt_filter_lpf.cc index ef74b0185b..ba64b00776 100644 --- a/src/lib/dhcp/pkt_filter_lpf.cc +++ b/src/lib/dhcp/pkt_filter_lpf.cc @@ -12,10 +12,10 @@ #include #include #include +#include #include #include #include -#include namespace {