diff options
| author | Amin Vakil <info@aminvakil.com> | 2026-06-18 18:44:44 +0330 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-06-29 10:27:29 +0200 |
| commit | 879b3353d04d043a9e01525c520d9b81339421b2 (patch) | |
| tree | 9664ae389dfce47945f9f799338699320791b816 /include/linux/bnge/git@git.tavy.me:linux.git | |
| parent | 975065007f4c54c478b0a5987863bd4d015d28ac (diff) | |
selftests: proc: include fcntl.h in proc-pidns
proc-pidns.c uses open() and O_* flags, but does not include
<fcntl.h>. This breaks the proc selftests build with errors such as:
error: implicit declaration of function 'open'
error: 'O_WRONLY' undeclared
error: 'O_CREAT' undeclared
error: 'O_RDONLY' undeclared
Include <fcntl.h> to provide the declaration and flag definitions.
Fixes: 5554d820f71c ("selftests/proc: add tests for new pidns APIs")
Tested with:
make -C tools/testing/selftests TARGETS=proc
Signed-off-by: Amin Vakil <info@aminvakil.com>
Link: https://patch.msgid.link/20260618151444.124739-1-info@aminvakil.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
