]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
kill: add another ifdef
authorKarel Zak <kzak@redhat.com>
Tue, 10 Dec 2019 10:07:30 +0000 (11:07 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Dec 2019 10:07:30 +0000 (11:07 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/kill.c

index e5295de7b3e98b59ae0a4b28c78d99493fbe8df3..44d761b4fdaa8800aa8fafd7e9603ebaf0272b45 100644 (file)
@@ -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. */