On linux this is not a problem as sys/wait.h includes signal.h, but on FreeBSD
it does not and I get the following compile failure:
seahorse-ssh-operation.c: In function 'seahorse_ssh_operation_cancel':
seahorse-ssh-operation.c:567: error: 'SIGTERM' undeclared (first use in this
function)
seahorse-ssh-operation.c:567: error: (Each undeclared identifier is reported
only once
seahorse-ssh-operation.c:567: error: for each function it appears in.)
gmake[1]: *** [seahorse-ssh-operation.o] Error 1
Fix is trivial:
--- seahorse-ssh-operation.c.old 2008-06-02 11:08:44 +0000
+++ seahorse-ssh-operation.c 2008-06-02 11:08:57 +0000
@@ -20,6 +20,7 @@
*/
#include "config.h"
+#include <signal.h>
#include <sys/wait.h>
#include <sys/socket.h>
#include <gnome.h>
cf: http://bugzilla.gnome.org/show_bug.cgi?id=536213
will attach the patch that will allow me to keyword it