diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/log.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/log.cpp b/src/log.cpp index cbcb4c74..b7a0545a 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -21,7 +21,9 @@ #include "log.h" #ifdef WIN32 -#include "utils/wingettimeofday.h" + #include "utils/wingettimeofday.h" +#else + #include <sys/time.h> #endif #ifdef __APPLE__ #include <Carbon/Carbon.h> @@ -30,7 +32,6 @@ #include <cstdarg> #include <iostream> #include <sstream> -#include <sys/time.h> Logger::~Logger() |