From 217efbcb4b9485703b0a550ca85f8475dd903887 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Thu, 14 Jul 2016 14:30:03 +0100 Subject: [PATCH] Allow compilation without MBEDTLS_SELF_TEST enabled --- library/entropy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/entropy.c b/library/entropy.c index 45c894b1df..8040638d0c 100644 --- a/library/entropy.c +++ b/library/entropy.c @@ -42,6 +42,10 @@ #include #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"