From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 14 Jul 2024 17:14:30 +0000 (+0200) Subject: [3.13] gh-121731: Fix mimalloc compile error on GNU/Hurd (GH-121732) (#121773) X-Git-Tag: v3.13.0b4~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=767f71466d35be984901593d25419be788e0d20c;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-121731: Fix mimalloc compile error on GNU/Hurd (GH-121732) (#121773) (cherry picked from commit d005f2c1861dbf0ab3d9f80b54d05d0c0b522c3c) Co-authored-by: Samuel Thibault --- 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 000000000000..36e0f86a0ae4 --- /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 c6ea05bbe7a2..c4816af1a0d6 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 // mmap #include // sysconf +#include // open, close, read, access #if defined(__linux__) #include