Add feature test macro to declare kill()

Avoid the following warning on some systems:

> warning: implicit declaration of function 'kill'
> [-Wimplicit-function-declaration]
This commit is contained in:
Romain Vimont 2018-11-10 16:16:08 +01:00
parent 5c739874a4
commit 9160d465ec

View file

@ -1,3 +1,5 @@
#define _POSIX_SOURCE // for kill()
#include "command.h"
#include <errno.h>