aboutsummaryrefslogtreecommitdiff
path: root/networking/tcpudp.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-02 10:46:08 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-02 10:46:08 +0100
commit78900354524ee966ee6b5299c87831fcccf1deb0 (patch)
treeaa56f36b18fa40b5c603f0074ec213d5df90002c /networking/tcpudp.c
parent1f71014fd6de609ea8947fcb77d03d16fe18c841 (diff)
downloadbusybox-w32-78900354524ee966ee6b5299c87831fcccf1deb0.tar.gz
busybox-w32-78900354524ee966ee6b5299c87831fcccf1deb0.tar.bz2
busybox-w32-78900354524ee966ee6b5299c87831fcccf1deb0.zip
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>
Diffstat (limited to 'networking/tcpudp.c')
-rw-r--r--networking/tcpudp.c6
1 files changed, 3 insertions, 3 deletions
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 @@
107#include "libbb.h" 107#include "libbb.h"
108#include "common_bufsiz.h" 108#include "common_bufsiz.h"
109 109
110/* Wants <limits.h> etc, thus included after libbb.h: */
111#ifdef __linux__ 110#ifdef __linux__
112#include <linux/types.h> /* for __be32 etc */ 111/* from linux/netfilter_ipv4.h: */
113#include <linux/netfilter_ipv4.h> 112# undef SO_ORIGINAL_DST
113# define SO_ORIGINAL_DST 80
114#endif 114#endif
115 115
116// TODO: move into this file: 116// TODO: move into this file: