aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-06-23 19:21:35 +0300
committerMartin Storsjö <martin@martin.st>2012-06-24 12:36:22 +0300
commit145a8096d53c20da7898539e521e6d4267ab2f09 (patch)
tree28c7ffc9fde2ff1c4778d9528dbd12ed1a7629d7 /libavutil
parent980e65f11994c3659451feb170bff085731693c2 (diff)
downloadffmpeg-145a8096d53c20da7898539e521e6d4267ab2f09.tar.gz
log: Only include unistd.h if configure found it
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ö <martin@martin.st>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index e4a9fec552..e2773d433d 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -26,7 +26,7 @@
#include "config.h"
-#if HAVE_ISATTY
+#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <stdlib.h>