mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 11:58:41 +03:00
haiku biuld fix proposal, warning suppression.
This commit is contained in:
parent
076f815cec
commit
a35a7d4f19
2 changed files with 4 additions and 1 deletions
|
@ -194,8 +194,10 @@ static bool os_random_buf(void* buf, size_t buf_len) {
|
|||
arc4random_buf(buf, buf_len);
|
||||
return true;
|
||||
}
|
||||
#elif defined(__linux__)
|
||||
#elif defined(__linux__) || defined(__HAIKU__)
|
||||
#if defined(__linux__)
|
||||
#include <sys/syscall.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue