From 951538d469f72532e43a2437d556a73518f5dde4 Mon Sep 17 00:00:00 2001 From: Daan Date: Tue, 8 Apr 2025 13:56:31 -0700 Subject: [PATCH] fix prctl.h includes for alpine linux/musl (hopefully fixes #1065, #1066, #1067) --- src/prim/unix/prim.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/prim/unix/prim.c b/src/prim/unix/prim.c index 09aa91b5..e3888e73 100644 --- a/src/prim/unix/prim.c +++ b/src/prim/unix/prim.c @@ -32,6 +32,9 @@ terms of the MIT license. A copy of the license can be found in the file #if defined(__linux__) #include #include // THP disable, PR_SET_VMA + #if !defined(PR_SET_VMA) + #include + #endif #if defined(__GLIBC__) #include // linux mmap flags #else