diff options
-rw-r--r-- | libavutil/random_seed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c index c674704615..aa8902472e 100644 --- a/libavutil/random_seed.c +++ b/libavutil/random_seed.c @@ -32,6 +32,7 @@ #include <time.h> #include <string.h> #include "avassert.h" +#include "internal.h" #include "timer.h" #include "random_seed.h" #include "sha.h" @@ -44,7 +45,7 @@ static int read_random(uint32_t *dst, const char *file) { #if HAVE_UNISTD_H - int fd = open(file, O_RDONLY); + int fd = avpriv_open(file, O_RDONLY); int err = -1; if (fd == -1) |