diff --git a/cores/esp8266/Crypto.cpp b/cores/esp8266/Crypto.cpp index e51a29b8b9..ae396b7d0b 100644 --- a/cores/esp8266/Crypto.cpp +++ b/cores/esp8266/Crypto.cpp @@ -23,10 +23,9 @@ THE SOFTWARE. */ -#include #include "Crypto.h" #include - +#include #include namespace TypeCast = experimental::TypeConversion; diff --git a/cores/esp8266/Crypto.h b/cores/esp8266/Crypto.h index 435b4836a3..790c916b6c 100644 --- a/cores/esp8266/Crypto.h +++ b/cores/esp8266/Crypto.h @@ -27,6 +27,7 @@ #define __ESP8266_ARDUINO_CRYPTO_H__ #include +#include namespace experimental { @@ -745,8 +746,7 @@ struct HKDF private: - // Use an opaque type to avoid #include which drags the lib declarations into userland. The global scope prefix is required for compilation to succeed, it seems. - ::br_hkdf_context hkdfContext; + br_hkdf_context hkdfContext; };