From 73046f191bfbb7d375a386f55cdf873d9f1e211a Mon Sep 17 00:00:00 2001 From: John Ellson Date: Wed, 23 Jan 2013 14:55:16 -0500 Subject: [PATCH] stricter error checking in rawhide's gcc, perhaps? --- contrib/diffimg/diffimg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/diffimg/diffimg.c b/contrib/diffimg/diffimg.c index f1a319d94..23518b821 100644 --- a/contrib/diffimg/diffimg.c +++ b/contrib/diffimg/diffimg.c @@ -61,8 +61,10 @@ #endif #define NOT(v) (!(v)) -#if ! defined HAVE_BOOL && ! defined __cplusplus +#if ! defined HAVE_BOOL && ! defined HAVE_STDBOOL_H && ! defined __cplusplus typedef unsigned char bool; +#endif +#ifndef false #define false 0 #define true NOT(false) #endif -- 2.40.0