]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-aux-scope.c
pidfd: properly detect if libc offers pidfd syscalls and make use of them then
[thirdparty/systemd.git] / src / test / test-aux-scope.c
index c6a1d292730935f57c496b7e6fee4382247c97f9..0170314035c2d9728e015530dbe48ff547e7686d 100644 (file)
@@ -3,6 +3,9 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
+#if HAVE_PIDFD_OPEN
+#include <sys/pidfd.h>
+#endif
 #include <sys/wait.h>
 
 #include "sd-event.h"