mirror of https://github.com/Genymobile/scrcpy
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:
parent
5c739874a4
commit
9160d465ec
|
@ -1,3 +1,5 @@
|
||||||
|
#define _POSIX_SOURCE // for kill()
|
||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
Loading…
Reference in New Issue