sigprocmask: move #include directive
[gnulib.git] / lib / sigprocmask.c
index f1adc54..a9aff47 100644 (file)
@@ -24,8 +24,6 @@
 #include <stdint.h>
 #include <stdlib.h>
 
-#include "msvc-inval.h"
-
 /* We assume that a platform without POSIX signal blocking functions
    also does not have the POSIX sigaction() function, only the
    signal() function.  We also assume signal() has SysV semantics,
@@ -61,6 +59,8 @@
 typedef void (*handler_t) (int);
 
 #if HAVE_MSVC_INVALID_PARAMETER_HANDLER
+# include "msvc-inval.h"
+
 static inline handler_t
 signal_nothrow (int sig, handler_t handler)
 {