From: ellson Date: Sat, 28 Jan 2006 00:20:45 +0000 (+0000) Subject: the configure test for bool tested only the CC compiler, but we already know that... X-Git-Tag: LAST_LIBGRAPH~32^2~6824 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e15544f5bb7cee7b7990a5b842f3142bb0f47fcb;p=graphviz the configure test for bool tested only the CC compiler, but we already know that C++ defines bool --- diff --git a/contrib/diffimg/diffimg.c b/contrib/diffimg/diffimg.c index 73937e22f..a0ddb345f 100644 --- a/contrib/diffimg/diffimg.c +++ b/contrib/diffimg/diffimg.c @@ -38,6 +38,9 @@ #include #include #include +#if defined HAVE_STDBOOL_H && ! defined __cplusplus +#include +#endif #define NOT(v) (!(v)) #if ! defined HAVE_BOOL && ! defined __cplusplus