$OpenBSD: patch-third_party_ffmpeg_libavutil_random_seed_c,v 1.2 2019/04/17 11:48:54 robert Exp $

Index: third_party/ffmpeg/libavutil/random_seed.c
--- third_party/ffmpeg/libavutil/random_seed.c.orig
+++ third_party/ffmpeg/libavutil/random_seed.c
@@ -30,6 +30,11 @@
 #include <windows.h>
 #include <bcrypt.h>
 #endif
+#if HAVE_ARC4RANDOM
+#undef __BSD_VISIBLE
+#define __BSD_VISIBLE 1
+#include <stdlib.h>
+#endif
 #include <fcntl.h>
 #include <math.h>
 #include <time.h>
