diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-24 20:57:35 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-06-25 23:28:36 +0300 |
commit | 246154a9aff222b80befd65faf97494ce9113306 (patch) | |
tree | 29c23e86bc493c021e8df92a9e96d34d0ec34f89 /libavutil/log.c | |
parent | 14a34d90ad1c8a47464937c6df4bda83451c07af (diff) | |
download | ffmpeg-246154a9aff222b80befd65faf97494ce9113306.tar.gz |
log: Include io.h on windows
This is required for isatty, which exists on MSVC and is found by
configure, but is provided by io.h instead of unistd.h.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/log.c')
-rw-r--r-- | libavutil/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/log.c b/libavutil/log.c index e2773d433d..9f1d59ab9c 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -39,6 +39,7 @@ static int flags; #if defined(_WIN32) && !defined(__MINGW32CE__) #include <windows.h> +#include <io.h> static const uint8_t color[] = { 12, 12, 12, 14, 7, 10, 11 }; static int16_t background, attr_orig; static HANDLE con; |