From bba1a601985fa0549d13b4cc671f0eacab03b91d Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 10 Dec 2019 11:07:30 +0100 Subject: [PATCH] kill: add another ifdef Signed-off-by: Karel Zak --- misc-utils/kill.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc-utils/kill.c b/misc-utils/kill.c index e5295de7b3..44d761b4fd 100644 --- a/misc-utils/kill.c +++ b/misc-utils/kill.c @@ -456,7 +456,9 @@ int main(int argc, char **argv) textdomain(PACKAGE); close_stdout_atexit(); +#ifdef UL_HAVE_PIDFD INIT_LIST_HEAD(&ctl.follow_ups); +#endif argv = parse_arguments(argc, argv, &ctl); /* The rest of the arguments should be process ids and names. */ -- 2.47.3