gh-90815: Fix mimalloc build on WASI (#111524)

Include <unistd.h> to get sbrk() function.
This commit is contained in:
Victor Stinner 2023-10-30 23:10:22 +01:00 committed by GitHub
parent da4d3142a2
commit 1673e44017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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