[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250302205859.14782-3-simeddon@gmail.com>
Date: Mon, 3 Mar 2025 02:22:46 +0530
From: Siddharth Menon <simeddon@...il.com>
To: shuah@...nel.org,
brauner@...nel.org
Cc: linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org,
Siddharth Menon <simeddon@...il.com>
Subject: [PATCH 2/2] selftests/pidfd: Fix missing header
Fix compilation errors caused by the missing sys/ioctl.h header
---
tools/testing/selftests/pidfd/pidfd_setns_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c b/tools/testing/selftests/pidfd/pidfd_setns_test.c
index 222f8131283b..4c8a0253a64f 100644
--- a/tools/testing/selftests/pidfd/pidfd_setns_test.c
+++ b/tools/testing/selftests/pidfd/pidfd_setns_test.c
@@ -17,6 +17,7 @@
#include <sys/socket.h>
#include <sys/stat.h>
#include <linux/ioctl.h>
+#include <sys/ioctl.h>
#include "pidfd.h"
#include "../kselftest_harness.h"
--
2.48.1
Powered by blists - more mailing lists