diff --git a/lib/Common.cpp b/lib/Common.cpp index 0bbd41a..0b56036 100644 --- a/lib/Common.cpp +++ b/lib/Common.cpp @@ -1,5 +1,6 @@ #ifndef _WIN32 #include +#include #if __APPLE__ #include #endif @@ -27,7 +28,7 @@ u64 GetGCTicks() { #if __APPLE__ return mach_absolute_time() * MachToDolphinNum / MachToDolphinDenom; -#elif __linux__ +#elif __linux__ || __FreeBSD__ struct timespec tp; clock_gettime(CLOCK_MONOTONIC, &tp);