From 145a8096d53c20da7898539e521e6d4267ab2f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sat, 23 Jun 2012 19:21:35 +0300 Subject: log: Only include unistd.h if configure found it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MSVC has isatty (in io.h), but not unistd.h. (isatty isn't called at all for windows, since there's a special case block for that.) Signed-off-by: Martin Storsjö --- libavutil/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil') diff --git a/libavutil/log.c b/libavutil/log.c index e4a9fec..e2773d4 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -26,7 +26,7 @@ #include "config.h" -#if HAVE_ISATTY +#if HAVE_UNISTD_H #include #endif #include -- cgit v1.1