diff --git a/wolfssl/wolfcrypt/fe_operations.h b/wolfssl/wolfcrypt/fe_operations.h index 043684220..0cb616e4e 100644 --- a/wolfssl/wolfcrypt/fe_operations.h +++ b/wolfssl/wolfcrypt/fe_operations.h @@ -27,9 +27,10 @@ #if defined(HAVE_CURVE25519) || defined(HAVE_ED25519) -#if defined(HAVE___UINT128_T) +#if !defined(CURVE25519_SMALL) || !defined(ED25519_SMALL) #include #endif + #include /* diff --git a/wolfssl/wolfcrypt/ge_operations.h b/wolfssl/wolfcrypt/ge_operations.h index 1da444a5e..b4f189960 100644 --- a/wolfssl/wolfcrypt/ge_operations.h +++ b/wolfssl/wolfcrypt/ge_operations.h @@ -29,9 +29,6 @@ #ifdef HAVE_ED25519 -#if defined(HAVE___UINT128_T) - #include -#endif #include /*