diff options
author | Antonio Montes <antonio_montes@outlook.com> | 2013-10-19 11:14:03 -0700 |
---|---|---|
committer | Antonio Montes <antonio_montes@outlook.com> | 2013-10-19 11:14:03 -0700 |
commit | 3df81b07f36a50c55c3c9f58518d6fbfe6e40f1a (patch) | |
tree | 0dbfcd226e4f3c8ab9167f3d62ffe6b85673d6a5 /testing/crypto_speed_test.c | |
parent | 368231b4f838c48998081b672773b4728ce462c8 (diff) |
fixed build errors on windows
Diffstat (limited to 'testing/crypto_speed_test.c')
-rw-r--r-- | testing/crypto_speed_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/crypto_speed_test.c b/testing/crypto_speed_test.c index 05f4aaf2..bb36b79e 100644 --- a/testing/crypto_speed_test.c +++ b/testing/crypto_speed_test.c | |||
@@ -7,6 +7,9 @@ | |||
7 | #ifndef WINVER | 7 | #ifndef WINVER |
8 | //Windows XP | 8 | //Windows XP |
9 | #define WINVER 0x0501 | 9 | #define WINVER 0x0501 |
10 | #endif | ||
11 | #if (_WIN32_WINNT >= _WIN32_WINNT_WINXP) | ||
12 | #include <winsock2.h> | ||
10 | #endif | 13 | #endif |
11 | #include <windows.h> | 14 | #include <windows.h> |
12 | double get_time() | 15 | double get_time() |