← Commit list

789003545

Denys Vlasenko
Denys Vlasenko
2017-01-02
SUCCESS Duration: 186s

Subject

tcpudp: define SO_ORIGINAL_DST directly, not via include

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/tcpudp.c+3 -3
@@ -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: