diff --git a/cogl/cogl/cogl-half-float.c b/cogl/cogl/cogl-half-float.c index be2c48b81..26c3660e5 100644 --- a/cogl/cogl/cogl-half-float.c +++ b/cogl/cogl/cogl-half-float.c @@ -31,6 +31,13 @@ #include +#if defined(__SSE__) || \ + (defined(_M_IX86_FP) && (_M_IX86_FP >= 1)) || \ + (defined(_M_X64) && !defined(_M_ARM64EC)) +#include +#include +#endif + #include "cogl/cogl-half-float.h" #include "cogl/cogl-soft-float.h"