From 453360666ca30ba57badbbf0ba7e68c49d89f91b Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 10 Mar 2017 11:49:07 -0700 Subject: [PATCH] Use HAVE_STDBOOL_H to detect systems w/o stdbool.h. Bug #778 --- plugins/sudoers/rcstr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/sudoers/rcstr.c b/plugins/sudoers/rcstr.c index 0f8e1a1ad..33ad557bc 100644 --- a/plugins/sudoers/rcstr.c +++ b/plugins/sudoers/rcstr.c @@ -20,7 +20,11 @@ #include #include -#include +#ifdef HAVE_STDBOOL_H +# include +#else +# include "compat/stdbool.h" +#endif #ifdef HAVE_STRING_H # include #endif /* HAVE_STRING_H */ -- 2.40.0