]> granicus.if.org Git - graphviz/commitdiff
the configure test for bool tested only the CC compiler, but we already know that...
authorellson <devnull@localhost>
Sat, 28 Jan 2006 00:20:45 +0000 (00:20 +0000)
committerellson <devnull@localhost>
Sat, 28 Jan 2006 00:20:45 +0000 (00:20 +0000)
contrib/diffimg/diffimg.c

index 73937e22f7e22456007e3d588ce66b1844a29eb8..a0ddb345f48a2097fa3d79281328089868bc7f0e 100644 (file)
@@ -38,6 +38,9 @@
 #include <unistd.h>
 #include <sysexits.h>
 #include <gd.h>
+#if defined HAVE_STDBOOL_H && ! defined __cplusplus
+#include <stdbool.h>
+#endif
 
 #define NOT(v) (!(v))
 #if ! defined HAVE_BOOL && ! defined __cplusplus