fix the build on OpenBSD

This commit is contained in:
Omar Polo
2021-05-22 17:46:43 +02:00
parent ba1c3e40f1
commit ed2df5ba57

View File

@@ -195,7 +195,7 @@ namespace basisu
{
QueryPerformanceFrequency(reinterpret_cast<LARGE_INTEGER*>(pTicks));
}
#elif defined(__APPLE__)
#elif defined(__APPLE__) || defined(__OpenBSD__)
#include <sys/time.h>
inline void query_counter(timer_ticks* pTicks)
{