]> granicus.if.org Git - sudo/commitdiff
Fix compilation when HAVE_DECL_SIG2STR_MAX is not defined.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 11 May 2015 19:26:16 +0000 (13:26 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 11 May 2015 19:26:16 +0000 (13:26 -0600)
include/sudo_compat.h

index 89fcac5e1c181fb23b64181eb16ebff2a8576c5e..9d100a44f760ef6a1a3fc78a6b52b1139977cb56 100644 (file)
@@ -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