From 246154a9aff222b80befd65faf97494ce9113306 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 24 Jun 2012 20:57:35 +0300 Subject: log: Include io.h on windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ö --- libavutil/log.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavutil') 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 +#include static const uint8_t color[] = { 12, 12, 12, 14, 7, 10, 11 }; static int16_t background, attr_orig; static HANDLE con; -- cgit v1.2.3