From: Todd C. Miller Date: Mon, 11 May 2015 19:26:16 +0000 (-0600) Subject: Fix compilation when HAVE_DECL_SIG2STR_MAX is not defined. X-Git-Tag: SUDO_1_8_14^2~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ab59941524640cccb50e664a1d074aff5e6ca7c;p=sudo Fix compilation when HAVE_DECL_SIG2STR_MAX is not defined. --- diff --git a/include/sudo_compat.h b/include/sudo_compat.h index 89fcac5e1..9d100a44f 100644 --- a/include/sudo_compat.h +++ b/include/sudo_compat.h @@ -312,7 +312,7 @@ extern int errno; #endif /* For sig2str() */ -#if defined(HAVE_DECL_SIG2STR_MAX) && !HAVE_DECL_SIG2STR_MAX +#if !defined(HAVE_DECL_SIG2STR_MAX) || !HAVE_DECL_SIG2STR_MAX # define SIG2STR_MAX 32 #endif