summaryrefslogtreecommitdiffstats
path: root/libavutil/random_seed.c
diff options
context:
space:
mode:
authorMatthew Oliver <protogonoi@gmail.com>2014-08-02 11:08:29 +1000
committerMichael Niedermayer <michaelni@gmx.at>2014-08-02 14:52:17 +0200
commit66627075d960c1c4ce977244a115ba1e82ebab9f (patch)
tree43d37364ef44fbfd9d58c57e9d507f20f15a06af /libavutil/random_seed.c
parent3fa9692ae2324b8fcc1a8aa47b9a75826740b32e (diff)
downloadffmpeg-streaming-66627075d960c1c4ce977244a115ba1e82ebab9f.zip
ffmpeg-streaming-66627075d960c1c4ce977244a115ba1e82ebab9f.tar.gz
msvc: fix implicitly declared read/close.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/random_seed.c')
-rw-r--r--libavutil/random_seed.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c
index e3ffaff..8aa8c38 100644
--- a/libavutil/random_seed.c
+++ b/libavutil/random_seed.c
@@ -23,6 +23,9 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#if HAVE_IO_H
+#include <io.h>
+#endif
#if HAVE_CRYPTGENRANDOM
#include <windows.h>
#include <wincrypt.h>
OpenPOWER on IntegriCloud