diff --git a/commands.c b/commands.c
index 75d450c5..29e32fa5 100644
--- a/commands.c
+++ b/commands.c
@@ -371,7 +371,7 @@ fatal_error_signal (sig)
     (void) sigprocmask (SIG_SETMASK, &set, (sigset_t *) 0);
   }
 #else
-#ifndef	SIGSETMASK_MISSING
+#ifdef	HAVE_SIGSETMASK
   (void) sigsetmask (0);
 #endif
 #endif