From 9160d465ece61dc088d542a94a0edaf4011cdfbf Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sat, 10 Nov 2018 16:16:08 +0100 Subject: [PATCH] Add feature test macro to declare kill() Avoid the following warning on some systems: > warning: implicit declaration of function 'kill' > [-Wimplicit-function-declaration] --- app/src/sys/unix/command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/sys/unix/command.c b/app/src/sys/unix/command.c index ed9bbeac..9eb537b9 100644 --- a/app/src/sys/unix/command.c +++ b/app/src/sys/unix/command.c @@ -1,3 +1,5 @@ +#define _POSIX_SOURCE // for kill() + #include "command.h" #include