]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
pidfd-utils: include wait.h for siginfo_t
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 25 Dec 2022 05:19:32 +0000 (05:19 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 3 Jan 2023 20:19:32 +0000 (20:19 +0000)
include/pidfd-utils.h

index d9e33cbc57ae38c874437a360a5d603f9db9c473..f1715681faff5bf8ed7fad1fd7f7e0a22ee811b2 100644 (file)
@@ -9,6 +9,7 @@
 #  endif
 #  include <sys/types.h>
 #  ifndef HAVE_PIDFD_SEND_SIGNAL
+#   include <sys/wait.h>
 static inline int pidfd_send_signal(int pidfd, int sig, siginfo_t *info,
                                    unsigned int flags)
 {