gcc warned that 'raise' was undeclared when building on Solaris 8 for
coreutils 6.2.  I installed the following to forestall further problems
in this area.

2006-09-26  Paul Eggert  <[EMAIL PROTECTED]>

        * lib/savewd.c: Include <signal.h>, for 'raise'.
        * modules/savewd (Depends-on): Add 'raise'.

--- lib/savewd.c        18 Sep 2006 06:47:32 -0000      1.2
+++ lib/savewd.c        26 Sep 2006 23:32:40 -0000
@@ -25,6 +25,7 @@
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <signal.h>
 #include <stdbool.h>
 #include <sys/types.h>
 #include <sys/wait.h>
--- modules/savewd      18 Sep 2006 03:31:18 -0000      1.1
+++ modules/savewd      26 Sep 2006 23:32:40 -0000
@@ -10,6 +10,7 @@ Depends-on:
 dirname
 exit
 fcntl-safer
+raise
 stdbool
 xalloc
 


Reply via email to