Skip to content

Commit 6258ff3

Browse files
committed
Haiku build fix
1 parent c7516b8 commit 6258ff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/core/src/system.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Mutex* __initialization_mutex_initializer = &getInitializationMutex();
6666
# endif
6767
#endif
6868

69-
#if defined __ANDROID__ || defined __linux__ || defined __FreeBSD__
69+
#if defined __ANDROID__ || defined __linux__ || defined __FreeBSD__ || defined __HAIKU__
7070
# include <unistd.h>
7171
# include <fcntl.h>
7272
# include <elf.h>
@@ -202,7 +202,7 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
202202
#include "omp.h"
203203
#endif
204204

205-
#if defined __linux__ || defined __APPLE__ || defined __EMSCRIPTEN__ || defined __FreeBSD__
205+
#if defined __linux__ || defined __APPLE__ || defined __EMSCRIPTEN__ || defined __FreeBSD__ || defined __HAIKU__
206206
#include <unistd.h>
207207
#include <stdio.h>
208208
#include <sys/types.h>

0 commit comments

Comments
 (0)