Add missing header for Haiku

This commit is contained in:
Begasus 2023-07-21 13:51:21 +00:00
parent 4e50d6714d
commit ec95d6d02a

View file

@ -55,6 +55,10 @@ terms of the MIT license. A copy of the license can be found in the file
#include <sys/syscall.h>
#endif
#if defined(__HAIKU__)
#include <fcntl.h>
#endif
//------------------------------------------------------------------------------------
// Use syscalls for some primitives to allow for libraries that override open/read/close etc.
// and do allocation themselves; using syscalls prevents recursion when mimalloc is