Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1673e44

Browse filesBrowse files
authored
gh-90815: Fix mimalloc build on WASI (#111524)
Include <unistd.h> to get sbrk() function.
1 parent da4d314 commit 1673e44
Copy full SHA for 1673e44

File tree

1 file changed

+1
-0
lines changed
Filter options
  • Objects/mimalloc/prim/wasi

1 file changed

+1
-0
lines changed

‎Objects/mimalloc/prim/wasi/prim.c

Copy file name to clipboardExpand all lines: Objects/mimalloc/prim/wasi/prim.c
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ terms of the MIT license. A copy of the license can be found in the file
1111
#include "mimalloc/internal.h"
1212
#include "mimalloc/atomic.h"
1313
#include "mimalloc/prim.h"
14+
#include <unistd.h> // sbrk()
1415

1516
//---------------------------------------------
1617
// Initialize

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.