summaryrefslogtreecommitdiff
path: root/indra/llcommon/lltimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/lltimer.cpp')
-rw-r--r--indra/llcommon/lltimer.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/indra/llcommon/lltimer.cpp b/indra/llcommon/lltimer.cpp
index bd054f02d8..a8118258f9 100644
--- a/indra/llcommon/lltimer.cpp
+++ b/indra/llcommon/lltimer.cpp
@@ -8,15 +8,19 @@
#include "linden_common.h"
+#include "lltimer.h"
-#if LL_WINDOWS
-#include <time.h>
+#include "u64.h"
+#if LL_WINDOWS
+# define WIN32_LEAN_AND_MEAN
+# include <winsock2.h>
+# include <windows.h>
+# include <time.h>
#elif LL_LINUX
-#include <time.h>
-#include <sys/time.h>
-#include <sched.h>
-
+# include <time.h>
+# include <sys/time.h>
+# include <sched.h>
#elif LL_DARWIN
# include <time.h>
# include <sys/time.h>
@@ -25,9 +29,6 @@
#endif
-#include "lltimer.h"
-#include "u64.h"
-
//
// Locally used constants
//