Module: libav Branch: master Commit: 246154a9aff222b80befd65faf97494ce9113306
Author: Ronald S. Bultje <[email protected]> Committer: Martin Storsjö <[email protected]> Date: Sun Jun 24 20:57:35 2012 +0300 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ö <[email protected]> --- libavutil/log.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavutil/log.c b/libavutil/log.c index e2773d4..9f1d59a 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; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
