MADV_COLLAPSE is part of linux/mman.h and needs to be included for this
selftest for glibc compatibility. It is also included in other tests that
use MADV_COLLAPSE.
Link: https://lkml.kernel.org/r/20250910204609.1720498-1-usamaarif642@gmail.com
Signed-off-by: Usama Arif <usamaarif642@gmail.com>
Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/all/c8249725-e91d-4c51-b9bb-40305e61e20d@sirena.org.uk/
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <linux/mman.h>
#include <sys/prctl.h>
#include <sys/wait.h>