From 755913a3d32abbda196d7c4f0576407c5fceb76e Mon Sep 17 00:00:00 2001 From: lexprfuncall <5360361+lexprfuncall@users.noreply.github.com> Date: Thu, 21 Aug 2025 11:16:33 -0700 Subject: [PATCH] Fix the compilation check for process madvise An include of unistd.h is needed to make the declaration of the syscall function visible to the compiler. The include of sys/mman.h is not used at all. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d9153feb..ce5c8adc 100644 --- a/configure.ac +++ b/configure.ac @@ -2633,8 +2633,8 @@ if test "x${je_cv_madvise}" = "xyes" ; then dnl Check for process_madvise JE_COMPILABLE([process_madvise(2)], [ -#include #include +#include ], [ syscall(SYS_process_madvise, 0, (void *)0, 0, 0, 0); ], [je_cv_process_madvise])