https://github.com/python/cpython/commit/767f71466d35be984901593d25419be788e0d20c
commit: 767f71466d35be984901593d25419be788e0d20c
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: colesbury <colesb...@gmail.com>
date: 2024-07-14T17:14:30Z
summary:

[3.13] gh-121731: Fix mimalloc compile error on GNU/Hurd (GH-121732) (#121773)

(cherry picked from commit d005f2c1861dbf0ab3d9f80b54d05d0c0b522c3c)

Co-authored-by: Samuel Thibault <samuel.thiba...@ens-lyon.org>

files:
A Misc/NEWS.d/next/Build/2024-07-14-01-29-47.gh-issue-121731.RMPGP3.rst
M Objects/mimalloc/prim/unix/prim.c

diff --git 
a/Misc/NEWS.d/next/Build/2024-07-14-01-29-47.gh-issue-121731.RMPGP3.rst 
b/Misc/NEWS.d/next/Build/2024-07-14-01-29-47.gh-issue-121731.RMPGP3.rst
new file mode 100644
index 00000000000000..36e0f86a0ae455
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2024-07-14-01-29-47.gh-issue-121731.RMPGP3.rst
@@ -0,0 +1 @@
+Fix mimalloc compile error on GNU/Hurd
diff --git a/Objects/mimalloc/prim/unix/prim.c 
b/Objects/mimalloc/prim/unix/prim.c
index c6ea05bbe7a2ac..c4816af1a0d6e5 100644
--- a/Objects/mimalloc/prim/unix/prim.c
+++ b/Objects/mimalloc/prim/unix/prim.c
@@ -27,6 +27,7 @@ terms of the MIT license. A copy of the license can be found 
in the file
 
 #include <sys/mman.h>  // mmap
 #include <unistd.h>    // sysconf
+#include <fcntl.h>     // open, close, read, access
 
 #if defined(__linux__)
   #include <features.h>

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to