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 <vda.linux@googlemail.com>
This commit is contained in:
		| @@ -107,10 +107,10 @@ | ||||
| #include "libbb.h" | ||||
| #include "common_bufsiz.h" | ||||
|  | ||||
| /* Wants <limits.h> etc, thus included after libbb.h: */ | ||||
| #ifdef __linux__ | ||||
| #include <linux/types.h> /* for __be32 etc */ | ||||
| #include <linux/netfilter_ipv4.h> | ||||
| /* from linux/netfilter_ipv4.h: */ | ||||
| # undef  SO_ORIGINAL_DST | ||||
| # define SO_ORIGINAL_DST 80 | ||||
| #endif | ||||
|  | ||||
| // TODO: move into this file: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user