diff --git a/include/etl/limits.h b/include/etl/limits.h index d64f6c57c..ac31ca6be 100644 --- a/include/etl/limits.h +++ b/include/etl/limits.h @@ -80,19 +80,19 @@ SOFTWARE. #if defined(ETL_NO_CPP_NAN_SUPPORT) #if defined(NAN) - #include "etl/private/diagnostic_useless_cast_push.h" + #include "private/diagnostic_useless_cast_push.h" #define ETL_NANF NAN #define ETL_NAN static_cast(NAN) #define ETL_NANL static_cast(NAN) #define ETL_HAS_NAN true - #include "etl/private/diagnostic_pop.h" + #include "private/diagnostic_pop.h" #else - #include "etl/private/diagnostic_useless_cast_push.h" + #include "private/diagnostic_useless_cast_push.h" #define ETL_NANF HUGE_VALF #define ETL_NAN HUGE_VAL #define ETL_NANL HUGE_VALL #define ETL_HAS_NAN false - #include "etl/private/diagnostic_pop.h" + #include "private/diagnostic_pop.h" #endif #else #define ETL_NANF nanf("") diff --git a/include/etl/random.h b/include/etl/random.h index e24bb84dc..2a4805069 100644 --- a/include/etl/random.h +++ b/include/etl/random.h @@ -462,12 +462,12 @@ namespace etl random_pcg() { -#include "etl/private/diagnostic_useless_cast_push.h" +#include "private/diagnostic_useless_cast_push.h" // An attempt to come up with a unique non-zero seed, // based on the address of the instance. uintptr_t n = reinterpret_cast(this); value = static_cast(n); -#include "etl/private/diagnostic_pop.h" +#include "private/diagnostic_pop.h" } //***************************************************************************