]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Fix build against musl 50/head
authorWalt Steverson <waltsteverson@users.noreply.github.com>
Thu, 1 Jun 2017 17:01:17 +0000 (12:01 -0500)
committerWalt Steverson <waltsteverson@users.noreply.github.com>
Thu, 1 Jun 2017 22:23:48 +0000 (17:23 -0500)
src/bin/perfdhcp/command_options.cc
src/lib/dhcp/pkt_filter_lpf.cc

index 9a195343fd86e065369ad551c983f2b3a25141fc..3f110625fe9162d61e2714150bc4a452e86cbaae 100644 (file)
@@ -22,6 +22,9 @@
 #include <unistd.h>
 #include <fstream>
 
+#ifdef HAVE_OPTRESET
+extern int optreset;
+#endif
 
 using namespace std;
 using namespace isc;
index ef74b0185b66892f93a4b4cb3c382604816e4794..ba64b00776e9812316136f9fc40731979266305b 100644 (file)
 #include <dhcp/protocol_util.h>
 #include <exceptions/exceptions.h>
 #include <fcntl.h>
+#include <net/ethernet.h>
 #include <linux/filter.h>
 #include <linux/if_ether.h>
 #include <linux/if_packet.h>
-#include <net/ethernet.h>
 
 namespace {