From d733efa7e1d6f5d7df436639c17fa560ee0e40da Mon Sep 17 00:00:00 2001 From: Maite Gamper Date: Fri, 17 May 2024 01:20:13 +0200 Subject: [PATCH] fix build for Haiku --- encoder/basisu_enc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/encoder/basisu_enc.cpp b/encoder/basisu_enc.cpp index 99ef7ab1..4ddd2ce8 100644 --- a/encoder/basisu_enc.cpp +++ b/encoder/basisu_enc.cpp @@ -242,7 +242,11 @@ namespace basisu *pTicks = 1000000; } #elif defined(__GNUC__) +#ifdef __HAIKU__ +#include +#else #include +#endif inline void query_counter(timer_ticks* pTicks) { struct timeval cur_time;