From ec95d6d02afc60f1d851161084ab3d553b081371 Mon Sep 17 00:00:00 2001 From: Begasus Date: Fri, 21 Jul 2023 13:51:21 +0000 Subject: [PATCH] Add missing header for Haiku --- src/prim/unix/prim.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/prim/unix/prim.c b/src/prim/unix/prim.c index 314281fe..605a684e 100644 --- a/src/prim/unix/prim.c +++ b/src/prim/unix/prim.c @@ -55,6 +55,10 @@ terms of the MIT license. A copy of the license can be found in the file #include #endif +#if defined(__HAIKU__) +#include +#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