From 78900354524ee966ee6b5299c87831fcccf1deb0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 2 Jan 2017 10:46:08 +0100 Subject: tcpudp: define SO_ORIGINAL_DST directly, not via include musl does not like including linux/netfilter_ipv4.h (enum / #define collision in two headers, resulting in "3 = 3" type situation in enum definition). Signed-off-by: Denys Vlasenko --- networking/tcpudp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'networking/tcpudp.c') diff --git a/networking/tcpudp.c b/networking/tcpudp.c index 94c89b9ef..3a6c68646 100644 --- a/networking/tcpudp.c +++ b/networking/tcpudp.c @@ -107,10 +107,10 @@ #include "libbb.h" #include "common_bufsiz.h" -/* Wants etc, thus included after libbb.h: */ #ifdef __linux__ -#include /* for __be32 etc */ -#include +/* from linux/netfilter_ipv4.h: */ +# undef SO_ORIGINAL_DST +# define SO_ORIGINAL_DST 80 #endif // TODO: move into this file: -- cgit v1.2.3