log: Only include unistd.h if configure found it
authorMartin Storsjö <martin@martin.st>
Sat, 23 Jun 2012 16:21:35 +0000 (19:21 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 24 Jun 2012 09:36:22 +0000 (12:36 +0300)
commit145a8096d53c20da7898539e521e6d4267ab2f09
tree28c7ffc9fde2ff1c4778d9528dbd12ed1a7629d7
parent980e65f11994c3659451feb170bff085731693c2
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>
libavutil/log.c