Skip to content

Commit 360de09

Browse files
committed
gh-121731: Fix mimalloc compile error on GNU/Hurd
1 parent a2bec77 commit 360de09

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix mimalloc compile error on GNU/Hurd

Objects/mimalloc/prim/unix/prim.c

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ terms of the MIT license. A copy of the license can be found in the file
2727

2828
#include <sys/mman.h> // mmap
2929
#include <unistd.h> // sysconf
30+
#include <fcntl.h> // open, close, read, access
3031

3132
#if defined(__linux__)
3233
#include <features.h>

0 commit comments

Comments
 (0)