From: Todd C. Miller Date: Fri, 10 Mar 2017 18:49:07 +0000 (-0700) Subject: Use HAVE_STDBOOL_H to detect systems w/o stdbool.h. X-Git-Tag: SUDO_1_8_20^2~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=453360666ca30ba57badbbf0ba7e68c49d89f91b;p=sudo Use HAVE_STDBOOL_H to detect systems w/o stdbool.h. Bug #778 --- 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 */