diff --git a/crypto/threads_none.c b/crypto/threads_none.c index 39aadd0e98..1fc2f0fe6c 100644 --- a/crypto/threads_none.c +++ b/crypto/threads_none.c @@ -8,6 +8,7 @@ */ #include +#include #if !defined(OPENSSL_THREADS) || defined(CRYPTO_TDEBUG) diff --git a/test/ecdsatest.c b/test/ecdsatest.c index 8a245b5d74..ef3f54ca4e 100644 --- a/test/ecdsatest.c +++ b/test/ecdsatest.c @@ -13,6 +13,7 @@ #include #include /* To see if OPENSSL_NO_EC is defined */ +# include "testutil.h" #ifndef OPENSSL_NO_EC @@ -26,7 +27,6 @@ # endif # include # include -# include "testutil.h" static const char rnd_seed[] = "string to make the random number generator think it has randomness"; @@ -394,6 +394,7 @@ static int test_builtin(void) return ret; } +#endif void register_tests(void) { @@ -406,4 +407,3 @@ void register_tests(void) ADD_TEST(test_builtin); #endif } -#endif