]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
selftests/pidfd: fix header inclusion
authorChristian Brauner <brauner@kernel.org>
Wed, 5 Mar 2025 10:08:17 +0000 (11:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 5 Mar 2025 12:26:20 +0000 (13:26 +0100)
Ensure that necessary defines are present.

Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-7-c8c3d8361705@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c

index f062a986e3824d125587ab0f3190bd680be8ec46..f718aac750680c8b5ade7888ab6c784b0f689fa6 100644 (file)
@@ -13,6 +13,7 @@
 #include <syscall.h>
 #include <sys/wait.h>
 #include <sys/mman.h>
+#include <sys/mount.h>
 
 #include "pidfd.h"
 #include "../kselftest.h"