diff options
author | Martin Storsjö <martin@martin.st> | 2012-06-23 19:21:35 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-06-24 12:36:22 +0300 |
commit | 145a8096d53c20da7898539e521e6d4267ab2f09 (patch) | |
tree | 28c7ffc9fde2ff1c4778d9528dbd12ed1a7629d7 | |
parent | 980e65f11994c3659451feb170bff085731693c2 (diff) | |
download | ffmpeg-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>
-rw-r--r-- | libavutil/log.c | 2 |
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> |