From 208831aec69bf922647bd48db5002b697dfbad98 Mon Sep 17 00:00:00 2001 From: Geoff Greer Date: Sun, 5 Aug 2018 00:24:42 -0700 Subject: Fix compiler errors. - Some platforms don't expose kill() unless _POSIX_C_SOURCE is defined. - fork(), execl(), and setsid() need unistd.h on some platforms. Basically, this fixes some platform-specific build errors. --- swaynag/swaynag.c | 1 + 1 file changed, 1 insertion(+) (limited to 'swaynag/swaynag.c') diff --git a/swaynag/swaynag.c b/swaynag/swaynag.c index 893f41e4..3764071e 100644 --- a/swaynag/swaynag.c +++ b/swaynag/swaynag.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include "log.h" -- cgit v1.2.3