diff --git a/yoga/CompactValue.h b/yoga/CompactValue.h index 6568c48a..e489fbb6 100644 --- a/yoga/CompactValue.h +++ b/yoga/CompactValue.h @@ -9,6 +9,14 @@ #ifdef __cplusplus +#if defined(__has_include) && __has_include() +// needed to be able to evaluate defined(__cpp_lib_bit_cast) +#include +#else +// needed to be able to evaluate defined(__cpp_lib_bit_cast) +#include +#endif + #ifdef __cpp_lib_bit_cast #include #else