void-packages/srcpkgs/kea/patches/fix-musl-ethaddr.patch

13 lines
367 B
Diff

--- a/src/lib/dhcp/pkt_filter_lpf.cc 2016-09-27 12:32:02.000000000 +0200
+++ b/src/lib/dhcp/pkt_filter_lpf.cc 2016-12-07 12:14:25.850716385 +0100
@@ -13,7 +13,9 @@
#include <exceptions/exceptions.h>
#include <fcntl.h>
#include <linux/filter.h>
+#if defined(__GLIBC__)
#include <linux/if_ether.h>
+#endif
#include <linux/if_packet.h>
#include <net/ethernet.h>