diff --git a/DocMain.md b/DocMain.md index b614ff7..3debade 100644 --- a/DocMain.md +++ b/DocMain.md @@ -1,7 +1,7 @@ JBus Documentation {#mainpage} ============================== -JBus functions as a server for acceping connections from GBA emulator clients. +JBus functions as a server for accepting connections from GBA emulator clients. The jbus::Listener class may be constructed and [started](@ref jbus::Listener::start) to enque incoming jbus::Endpoint instances. 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);