Skip to content

Commit 3411493

Browse files
committed
fix include of prctl.h on alpine linux x86
1 parent 0184a86 commit 3411493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prim/unix/prim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ terms of the MIT license. A copy of the license can be found in the file
3232
#if defined(__linux__)
3333
#include <features.h>
3434
#include <sys/prctl.h> // THP disable, PR_SET_VMA
35-
#if !defined(PR_SET_VMA)
35+
#if defined(__GLIBC__) && !defined(PR_SET_VMA)
3636
#include <linux/prctl.h>
3737
#endif
3838
#if defined(__GLIBC__)

0 commit comments

Comments
 (0)