From 6839803199f77025c19c5730210b17e41035bcda Mon Sep 17 00:00:00 2001 From: Walt Steverson Date: Thu, 1 Jun 2017 12:01:17 -0500 Subject: [PATCH] Fix build against musl --- src/bin/perfdhcp/command_options.cc | 3 +++ src/lib/dhcp/pkt_filter_lpf.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 { -- 2.47.2