[FFmpeg-cvslog] msvc: fix implicitly declared read/close.
Matthew Oliver
git at videolan.org
Sat Aug 2 15:09:07 CEST 2014
ffmpeg | branch: master | Matthew Oliver <protogonoi at gmail.com> | Sat Aug 2 11:08:29 2014 +1000| [66627075d960c1c4ce977244a115ba1e82ebab9f] | committer: Michael Niedermayer
msvc: fix implicitly declared read/close.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=66627075d960c1c4ce977244a115ba1e82ebab9f
---
libavcodec/libxvid.c | 4 ++++
libavcodec/libxvid_rc.c | 4 ++++
libavutil/random_seed.c | 3 +++
3 files changed, 11 insertions(+)
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index 3ec9524..b521e01 100644
--- a/libavcodec/libxvid.c
+++ b/libavcodec/libxvid.c
@@ -39,6 +39,10 @@
#include <unistd.h>
#endif
+#if HAVE_IO_H
+#include <io.h>
+#endif
+
/**
* Buffer management macros.
*/
diff --git a/libavcodec/libxvid_rc.c b/libavcodec/libxvid_rc.c
index 1351dcd..ae6ddb8 100644
--- a/libavcodec/libxvid_rc.c
+++ b/libavcodec/libxvid_rc.c
@@ -32,6 +32,10 @@
#include <unistd.h>
#endif
+#if HAVE_IO_H
+#include <io.h>
+#endif
+
#undef NDEBUG
#include <assert.h>
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>
More information about the ffmpeg-cvslog
mailing list