diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-14 16:50:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-14 16:50:25 (GMT) |
commit | d005f2c1861dbf0ab3d9f80b54d05d0c0b522c3c (patch) | |
tree | 800448d466c72f057f3829d832ef06b607ccbe03 | |
parent | 5d6861ad06b524358f52603f242e7c0d57532a58 (diff) | |
download | cpython-d005f2c1861dbf0ab3d9f80b54d05d0c0b522c3c.zip cpython-d005f2c1861dbf0ab3d9f80b54d05d0c0b522c3c.tar.gz cpython-d005f2c1861dbf0ab3d9f80b54d05d0c0b522c3c.tar.bz2 |
gh-121731: Fix mimalloc compile error on GNU/Hurd (#121732)
-rw-r--r-- | Misc/NEWS.d/next/Build/2024-07-14-01-29-47.gh-issue-121731.RMPGP3.rst | 1 | ||||
-rw-r--r-- | Objects/mimalloc/prim/unix/prim.c | 1 |
2 files changed, 2 insertions, 0 deletions
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 0000000..36e0f86 --- /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 c6ea05b..c4816af 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> |