[Bug 1277] v1.8.1 FTBFS on Void Linux due to conflicting definitions

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Sat Oct 27 23:32:49 CEST 2018


https://bugzilla.netfilter.org/show_bug.cgi?id=1277

Florian Westphal <fw at strlen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at strlen.de

--- Comment #2 from Florian Westphal <fw at strlen.de> ---
(In reply to Cameron Nemo from comment #1)
> Can reproduce on 1.8.1.

Dies this help?

diff --git a/extensions/libxt_mac.c b/extensions/libxt_mac.c
--- a/extensions/libxt_mac.c
+++ b/extensions/libxt_mac.c
@@ -1,9 +1,5 @@
 #include <stdio.h>
-#if defined(__GLIBC__) && __GLIBC__ == 2
 #include <net/ethernet.h>
-#else
-#include <linux/if_ether.h>
-#endif

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20181027/6db9556e/attachment.html>


More information about the netfilter-buglog mailing list