Skip to content

Commit

Permalink
pythongh-90815: Fix mimalloc build on WASI (python#111524)
Browse files Browse the repository at this point in the history
Include <unistd.h> to get sbrk() function.
  • Loading branch information
vstinner authored and Glyphack committed Jan 27, 2024
1 parent a10503c commit 49369ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Objects/mimalloc/prim/wasi/prim.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ terms of the MIT license. A copy of the license can be found in the file
#include "mimalloc/internal.h"
#include "mimalloc/atomic.h"
#include "mimalloc/prim.h"
#include <unistd.h> // sbrk()

//---------------------------------------------
// Initialize
Expand Down

0 comments on commit 49369ea

Please sign in to comment.