mirror of https://github.com/python/cpython
gh-90815: Fix mimalloc build on WASI (#111524)
Include <unistd.h> to get sbrk() function.
This commit is contained in:
parent
da4d3142a2
commit
1673e44017
|
@ -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/internal.h"
|
||||||
#include "mimalloc/atomic.h"
|
#include "mimalloc/atomic.h"
|
||||||
#include "mimalloc/prim.h"
|
#include "mimalloc/prim.h"
|
||||||
|
#include <unistd.h> // sbrk()
|
||||||
|
|
||||||
//---------------------------------------------
|
//---------------------------------------------
|
||||||
// Initialize
|
// Initialize
|
||||||
|
|
Loading…
Reference in New Issue