diff options
author | Adam Langley <agl@google.com> | 2015-04-17 00:01:33 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-04-17 00:02:52 +0300 |
commit | 92b6b02475321283ba0889d558cdde4fafe210a8 (patch) | |
tree | 3f8b05597ee40ceb350838af372372b72d985863 /tool/speed.cc | |
parent | ad6b28e9745a3567ac991ca3cc57a1bbafd0642a (diff) |
tool: include base.h before testing OPENSSL_WINDOWS.
Even though windows.h etc are system headers, conditional includes have
to come after the others.
Change-Id: I839b3b6c32a76c806698e2cdc71e50433fa900b2
Diffstat (limited to 'tool/speed.cc')
-rw-r--r-- | tool/speed.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tool/speed.cc b/tool/speed.cc index 6b635b08..ab17c2f6 100644 --- a/tool/speed.cc +++ b/tool/speed.cc @@ -20,6 +20,13 @@ #include <stdint.h> #include <string.h> +#include <openssl/aead.h> +#include <openssl/digest.h> +#include <openssl/err.h> +#include <openssl/obj.h> +#include <openssl/rand.h> +#include <openssl/rsa.h> + #if defined(OPENSSL_WINDOWS) #pragma warning(push, 3) #include <windows.h> @@ -28,13 +35,6 @@ #include <sys/time.h> #endif -#include <openssl/aead.h> -#include <openssl/digest.h> -#include <openssl/err.h> -#include <openssl/obj.h> -#include <openssl/rand.h> -#include <openssl/rsa.h> - #include "../crypto/test/scoped_types.h" |