From: Karel Zak Date: Tue, 10 Dec 2019 10:07:30 +0000 (+0100) Subject: kill: add another ifdef X-Git-Tag: v2.35-rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bba1a601985fa0549d13b4cc671f0eacab03b91d;p=thirdparty%2Futil-linux.git kill: add another ifdef Signed-off-by: Karel Zak --- 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. */