blob: 348e316ce46ce91f5894a8f2181047e9e61f5143 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001--- iperf-2.0.5/m4/dast.m4.orig 2016-06-15 11:42:03.945581785 -0400
2+++ iperf-2.0.5/m4/dast.m4 2016-06-15 11:42:11.053581641 -0400
3@@ -11,7 +11,12 @@
4
5 AC_DEFUN(DAST_CHECK_BOOL, [
6
7-AC_CHECK_SIZEOF(bool)
8+if test "$ac_cv_header_stdbool_h" = yes; then
9+ AC_CHECK_SIZEOF(bool,,[#include <stdbool.h>])
10+else
11+ AC_CHECK_SIZEOF(bool)
12+fi
13+
14 if test "$ac_cv_sizeof_bool" = 0 ; then
15 AC_DEFINE(bool, int)
16 fi