Skip to content

Commit f6afd1f

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

File tree

1 file changed

+1
-0
lines changed
  • Objects/mimalloc/prim/unix

1 file changed

+1
-0
lines changed

Objects/mimalloc/prim/unix/prim.c

Lines changed: 1 addition & 0 deletions
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)