diff --git a/library/aesce.c b/library/aesce.c index bd9c483968..2f394feb41 100644 --- a/library/aesce.c +++ b/library/aesce.c @@ -5,10 +5,6 @@ * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ -#include "common.h" - -#if defined(MBEDTLS_AESCE_C) - #if defined(__clang__) && (__clang_major__ >= 4) /* Ideally, we would simply use MBEDTLS_ARCH_IS_ARMV8_A in the following #if, @@ -42,6 +38,10 @@ #endif /* defined(__clang__) && (__clang_major__ >= 4) */ +#include "common.h" + +#if defined(MBEDTLS_AESCE_C) + #include #include "aesce.h"