diff options
Diffstat (limited to 'benchmarks/iperf/files/patch-compat-gettcpinfo.c')
-rw-r--r-- | benchmarks/iperf/files/patch-compat-gettcpinfo.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/benchmarks/iperf/files/patch-compat-gettcpinfo.c b/benchmarks/iperf/files/patch-compat-gettcpinfo.c new file mode 100644 index 000000000000..4bdfaa118032 --- /dev/null +++ b/benchmarks/iperf/files/patch-compat-gettcpinfo.c @@ -0,0 +1,9 @@ +--- compat/gettcpinfo.c.orig 2021-12-11 04:24:44 UTC ++++ compat/gettcpinfo.c +@@ -97,6 +97,4 @@ inline void gettcpinfo (SOCKET sock, struct ReportStru + sample->tcpstats.rtt = 1; + sample->tcpstats.isValid = false; + }; +-#else +-inline void gettcpinfo (int sock, struct ReportStruct *sample) { + #endif |