From 6ab59941524640cccb50e664a1d074aff5e6ca7c Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 11 May 2015 13:26:16 -0600 Subject: [PATCH] Fix compilation when HAVE_DECL_SIG2STR_MAX is not defined. --- include/sudo_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1