From fd211e1677fc653feeef6b0b8b8e8659ac274b3c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 13 Dec 2019 21:25:03 -0800 Subject: iperf: Fix compilation with libcxx Avoids redefining bool. Signed-off-by: Rosen Penev --- package/network/utils/iperf/patches/010-libcxx.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/network/utils/iperf/patches/010-libcxx.patch (limited to 'package/network/utils/iperf/patches') diff --git a/package/network/utils/iperf/patches/010-libcxx.patch b/package/network/utils/iperf/patches/010-libcxx.patch new file mode 100644 index 0000000000..cf0124232f --- /dev/null +++ b/package/network/utils/iperf/patches/010-libcxx.patch @@ -0,0 +1,12 @@ +--- a/config.h.in ++++ b/config.h.in +@@ -360,7 +360,9 @@ + #undef _REENTRANT + + /* */ ++#ifndef __cplusplus + #undef bool ++#endif + + /* Define to empty if `const' does not conform to ANSI C. */ + #undef const -- cgit v1.2.3