Skip to content

Commit f51b3b3

Browse files
committed
selftests/pidfd: fix header inclusion
JIRA: https://issues.redhat.com/browse/RHEL-107520 commit 17457a4 Author: Christian Brauner <brauner@kernel.org> Date: Wed, 5 Mar 2025 11:08:17 +0100 selftests/pidfd: fix header inclusion 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> Signed-off-by: Waiman Long <longman@redhat.com>
1 parent 131b458 commit f51b3b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/selftests/pidfd/pidfd_fdinfo_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <syscall.h>
1414
#include <sys/wait.h>
1515
#include <sys/mman.h>
16+
#include <sys/mount.h>
1617

1718
#include "pidfd.h"
1819
#include "../kselftest.h"

0 commit comments

Comments
 (0)