aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmarks/iperf/files/patch-config.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/iperf/files/patch-config.h.in b/benchmarks/iperf/files/patch-config.h.in
new file mode 100644
index 000000000000..62f31a0e1eca
--- /dev/null
+++ b/benchmarks/iperf/files/patch-config.h.in
@@ -0,0 +1,12 @@
+--- config.h.in.orig 2010-04-10 19:23:05 UTC
++++ config.h.in
+@@ -268,7 +268,9 @@
+ #undef _REENTRANT
+
+ /* */
++#ifndef __cplusplus
+ #undef bool
++#endif
+
+ /* Define to empty if `const' does not conform to ANSI C. */
+ #undef const