maint: update copyright
[gnulib.git] / m4 / strsignal.m4
index f5c70ef..b9dfeca 100644 (file)
@@ -1,5 +1,5 @@
-# strsignal.m4 serial 6
-dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
+# strsignal.m4 serial 8
+dnl Copyright (C) 2008-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -53,6 +53,7 @@ AC_DEFUN([gl_FUNC_STRSIGNAL],
 
 # Prerequisites of lib/strsignal.c.
 AC_DEFUN([gl_PREREQ_STRSIGNAL], [
+  AC_CHECK_HEADERS_ONCE([unistd.h])
   AC_REQUIRE([AC_DECL_SYS_SIGLIST])
-  AC_CHECK_DECLS([_sys_siglist], [], [], [#include <signal.h>])
+  AC_CHECK_DECLS([_sys_siglist], [], [], [[#include <signal.h>]])
 ])