mirror of
https://git.busybox.net/busybox.git
synced 2024-11-23 13:43:28 +08:00
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:
parent
a12eb9c64d
commit
e94d2c5f24
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user