ports/linux: Add missing header
PATCH 1/1 ports/linux: Add missing header
The opentree* calls that were recently added need linux/mount.h on older verisons of Linux, e.g. on Ubuntu 22.04.
Add the missing header.
Signed-off-by Richard Purdie <[email protected]>
--- ports/linux/portdefs.h | 1 + 1 file changed, 1 insertion(+)
ports/linux/portdefs.h +1 -0
@@ -34,6 +34,7 @@ GLIBC_COMPAT_SYMBOL(memcpy,2.0);#include <sys/syscall.h> #include <sys/prctl.h> #include <linux/seccomp.h> +#include <linux/mount.h> /* close_range()'s flags, and unshare(), are only declared by glibc under * _GNU_SOURCE, which pseudo does not build with. <linux/close_range.h> is