From 8f70a3c262fc7cb6ceb6042fac8b9cb7d49f5b6a Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 4 Jan 2025 14:18:45 +0000 Subject: [PATCH] Fixed include for C++20 & STL --- include/etl/unaligned_type.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/etl/unaligned_type.h b/include/etl/unaligned_type.h index d436229d..1d469c9a 100644 --- a/include/etl/unaligned_type.h +++ b/include/etl/unaligned_type.h @@ -45,7 +45,9 @@ SOFTWARE. #include "exception.h" #include "file_error_numbers.h" -#include +#if ETL_USING_CPP20 && ETL_USING_STL + #include +#endif #include