diff options
| author | 2026-06-18 18:44:44 +0330 | |
|---|---|---|
| committer | 2026-06-29 10:27:29 +0200 | |
| commit | 879b3353d04d043a9e01525c520d9b81339421b2 (patch) | |
| tree | 9664ae389dfce47945f9f799338699320791b816 /scripts/Makefile.thinlto | |
| parent | Merge patch series "fs: refactor code to use clear_and_wake_up_bit()" (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
