mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00:00
Fix compile on openSUSE Tumbleweed (gcc-14.2.1, glibc-2.40):
- add missing sys/mount.h include
Fixes:
pid_max.c: In function ‘pid_max_cb’:
pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
| ^~~~~
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Peter Seiderer <[email protected]>
Reviewed-by: T.J. Mercier <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>