--- third_party/ffmpeg/libavutil/random_seed.c.orig 2023-10-19 19:59:55 UTC +++ third_party/ffmpeg/libavutil/random_seed.c @@ -35,6 +35,11 @@ #elif CONFIG_OPENSSL #include #endif +#if HAVE_ARC4RANDOM_BUF +#undef __BSD_VISIBLE +#define __BSD_VISIBLE 1 +#include +#endif #include #include #include