From: Paul Eggert Date: Sat, 24 Sep 2011 04:54:43 +0000 (-0700) Subject: sigprocmask: move #include directive X-Git-Tag: v0.1~1762 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=78873a29ee594888a4d3a33b71fc6d6b4849dcbe;p=gnulib.git sigprocmask: move #include directive * lib/sigprocmask.c: Move '#include "msvc-inval.h"' to the Windows-specific section, so that the Emacs source need not contain msvc-inval.h. --- diff --git a/ChangeLog b/ChangeLog index 3c8a7a0a4..2c7766965 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-23 Paul Eggert + + sigprocmask: move #include directive + * lib/sigprocmask.c: Move '#include "msvc-inval.h"' to the + Windows-specific section, so that the Emacs source need not + contain msvc-inval.h. + 2011-09-23 Bruno Haible read: Support for MSVC 9. diff --git a/lib/sigprocmask.c b/lib/sigprocmask.c index f1adc54e7..a9aff4761 100644 --- a/lib/sigprocmask.c +++ b/lib/sigprocmask.c @@ -24,8 +24,6 @@ #include #include -#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) {