From aab12453dc3df819981850219e06f5162ca4d9c0 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 21 Jun 2022 18:48:05 +0200 Subject: [PATCH] src/action.c: Fix includes for kill() and getpid() Fixes #410 Backport of c49f4e735d98fbb942db2acc834a9173e2e6bdca --- src/action.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/action.c b/src/action.c index f898029c..2b878740 100644 --- a/src/action.c +++ b/src/action.c @@ -1,7 +1,9 @@ // SPDX-License-Identifier: GPL-2.0-only -#include -#include +#define _POSIX_C_SOURCE 200809L #include +#include +#include +#include #include "common/spawn.h" #include "common/zfree.h" #include "labwc.h"