1 diff --git a/meson.build b/meson.build
2 index a0289ad..211b01b 100644
5 @@ -134,11 +134,13 @@ foreach ident: [
9 + #include <sys/pidfd.h>
10 #include <sys/wait.h>'''],
12 '''#include <stdlib.h>
15 + #include <sys/pidfd.h>
16 #include <sys/wait.h>'''],
18 have = cc.has_function(ident[0], prefix: ident[1], args: '-D_GNU_SOURCE')
19 diff --git a/src/bindings.c b/src/bindings.c
20 index 13259c1..e760330 100644
24 /* SPDX-License-Identifier: LGPL-2.1+ */
26 +#include <sys/pidfd.h>