Compare commits

...

3 commits

Author SHA1 Message Date
Daan
ccda6b576e Merge branch 'dev' into dev3 2025-04-08 13:57:17 -07:00
Daan
951538d469 fix prctl.h includes for alpine linux/musl (hopefully fixes #1065, #1066, #1067) 2025-04-08 13:56:31 -07:00
Daan
bc8eca8bf2 typo 2025-04-02 12:09:09 -07:00
2 changed files with 4 additions and 1 deletions

View file

@ -32,6 +32,9 @@ terms of the MIT license. A copy of the license can be found in the file
#if defined(__linux__)
#include <features.h>
#include <sys/prctl.h> // THP disable, PR_SET_VMA
#if !defined(PR_SET_VMA)
#include <linux/prctl.h>
#endif
#if defined(__GLIBC__)
#include <linux/mman.h> // linux mmap flags
#else