X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/798619b91c91405f847b0e48137239f218a4cf15..59f0d218a6ff34c80cf898f6d7ac62555ba8eb11:/packages/iperf3/flowlabel.h.patch?ds=inline diff --git a/packages/iperf3/flowlabel.h.patch b/packages/iperf3/flowlabel.h.patch new file mode 100644 index 00000000..f8a2694b --- /dev/null +++ b/packages/iperf3/flowlabel.h.patch @@ -0,0 +1,19 @@ +diff -u -r ../iperf-3.0.3/src/flowlabel.h ./src/flowlabel.h +--- ../iperf-3.0.3/src/flowlabel.h 2014-03-26 19:06:38.000000000 +0100 ++++ ./src/flowlabel.h 2014-06-16 08:32:24.788283978 +0200 +@@ -19,6 +19,7 @@ + conflicts with "netinet/in.h" . + */ + ++#ifndef __ANDROID__ + struct in6_flowlabel_req + { + struct in6_addr flr_dst; +@@ -31,6 +32,7 @@ + __u32 __flr_pad; + /* Options in format of IPV6_PKTOPTIONS */ + }; ++#endif + + #define IPV6_FL_A_GET 0 + #define IPV6_FL_A_PUT 1