Skip to content

Commit 767f714

Browse files
[3.13] gh-121731: Fix mimalloc compile error on GNU/Hurd (GH-121732) (#121773)
(cherry picked from commit d005f2c) Co-authored-by: Samuel Thibault <[email protected]>
1 parent 97b06d5 commit 767f714

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)