From: Nick Mathewson Date: Fri, 2 Oct 2015 16:31:43 +0000 (+0200) Subject: Try to fix mingw build. X-Git-Tag: tor-0.2.8.1-alpha~328 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b31cdf4ad626e227967ee0f3198705d7c2e322e2;p=thirdparty%2Ftor.git Try to fix mingw build. --- diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c index e467cd5710..2cf03323be 100644 --- a/src/test/test_tortls.c +++ b/src/test/test_tortls.c @@ -5,6 +5,15 @@ #define LOG_PRIVATE #include "orconfig.h" +#ifdef _WIN32 +#include +#endif + +#include "or.h" +#include "torlog.h" +#include "config.h" +#include "tortls.h" + #ifdef __GNUC__ #define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) #endif @@ -33,11 +42,6 @@ #endif #endif -#include "or.h" -#include "torlog.h" -#include "config.h" -#include "tortls.h" - #include "test.h" #include "log_test_helpers.h" #define NS_MODULE tortls