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
1 changed files with 2 additions and 0 deletions

View File

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