summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sudo_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sudo_compat.h b/include/sudo_compat.h
index f5639dfc8..22db66a6a 100644
--- a/include/sudo_compat.h
+++ b/include/sudo_compat.h
@@ -205,7 +205,7 @@ extern int errno;
#endif /* !HAVE_DECL_ERRNO */
/* Not all systems define NSIG in signal.h */
-#if !defined(HAVE_DECL_NSIG) || !HAVE_DECL_NSIG
+#if defined(HAVE_DECL_NSIG) && !HAVE_DECL_NSIG
# if defined(HAVE_DECL__NSIG) && HAVE_DECL__NSIG
# define NSIG _NSIG
# elif defined(HAVE_DECL___NSIG) && HAVE_DECL___NSIG