On Wed, Jan 15, 2025 at 2:53 AM Peter Seiderer <ps.rep...@gmx.net> wrote: > > 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); > | ^~~~~ > > Signed-off-by: Peter Seiderer <ps.rep...@gmx.net>
Reviewed-by: T.J. Mercier <tjmerc...@google.com>