diff --git a/libavutil/cpu.c b/libavutil/cpu.c index a22da0fa..d3bde0a0 100644 --- a/libavutil/cpu.c +++ b/libavutil/cpu.c @@ -39,8 +39,16 @@ #include #endif #include + + +#if __cplusplus >= 201703L +#if __has_include() #include #endif +#else +#include +#endif +#endif #if HAVE_UNISTD_H #include #endif