commit | 217efbcb4b9485703b0a550ca85f8475dd903887 | [log] [tgz] |
---|---|---|
author | Paul Bakker <paul.bakker@arm.com> | Thu Jul 14 14:30:03 2016 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Thu Aug 25 15:42:28 2016 +0100 |
tree | c0a2f5a38bb60579e512f594d71b148029365e3b | |
parent | 6a9c725652ca796689073eab6362d3f4bb5d98b6 [diff] [blame] |
Allow compilation without MBEDTLS_SELF_TEST enabled
diff --git a/library/entropy.c b/library/entropy.c index 45c894b..8040638 100644 --- a/library/entropy.c +++ b/library/entropy.c
@@ -42,6 +42,10 @@ #include <stdio.h> #endif +#if defined(MBEDTLS_ENTROPY_NV_SEED) +#include "mbedtls/platform.h" +#endif + #if defined(MBEDTLS_SELF_TEST) #if defined(MBEDTLS_PLATFORM_C) #include "mbedtls/platform.h"