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;