--- third_party/ffmpeg/libavutil/cpu.c.orig 2022-07-22 17:30:31 UTC +++ third_party/ffmpeg/libavutil/cpu.c @@ -38,10 +38,7 @@ #if HAVE_GETPROCESSAFFINITYMASK || HAVE_WINRT #include #endif -#if HAVE_SYSCTL -#if HAVE_SYS_PARAM_H -#include -#endif +#if HAVE_SYSCTL && !defined(__OpenBSD__) #include #include #endif