summaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-11-27 12:31:40 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-11-27 12:31:40 +0000
commit34baa9637d2319f52b4e1b1f3294994557151113 (patch)
treeab41530dc3d58be1e48acdf6e6c26f88925a6651 /src/log.cpp
parent1df64491004ca816e1d61dc6209e85f3a49e1379 (diff)
downloadmana-client-34baa9637d2319f52b4e1b1f3294994557151113.tar.gz
mana-client-34baa9637d2319f52b4e1b1f3294994557151113.tar.bz2
mana-client-34baa9637d2319f52b4e1b1f3294994557151113.tar.xz
mana-client-34baa9637d2319f52b4e1b1f3294994557151113.zip
fix for windows machines that do have gettimeofday defined in sys/time.h
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp5
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()