Skip to content

Commit d005f2c

Browse files
authored
gh-121731: Fix mimalloc compile error on GNU/Hurd (#121732)
1 parent 5d6861a commit d005f2c

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)