From 9f8f7ddc41dd55cf4497f6a776ca03754fd020b9 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Feb 28 2017 18:39:45 +0000 Subject: libcm: Include missing header file signal.h The man 3 signal says that header file signal.h need to be included for function kill(). This header file was included indirectly on Linux. But it was not included on FreeBSD CC libcm_a-subproc.o subproc.c: In function 'cm_subproc_done': subproc.c:232: warning: implicit declaration of function 'kill' subproc.c:232: error: 'SIGKILL' undeclared (first use in this function) subproc.c:232: error: (Each undeclared identifier is reported only once subproc.c:232: error: for each function it appears in.) Signed-off-by: Nalin Dahyabhai --- diff --git a/src/subproc.c b/src/subproc.c index b452135..f140229 100644 --- a/src/subproc.c +++ b/src/subproc.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include