@@ -13,7 +13,6 @@
#include "compat.h"
#ifdef _WIN32
-#undef HAVE_CLOCK_GETTIME
#include <winsock2.h>
#include <windows.h>
#endif
@@ -45,6 +44,10 @@
+#ifdef _WIN32
+#undef HAVE_CLOCK_GETTIME
+#endif
+
#ifdef TOR_UNIT_TESTS
/** Delay for <b>msec</b> milliseconds. Only used in tests. */
void