avutil: Include io.h with a separate condition from windows console functions
authorMartin Storsjö <martin@martin.st>
Fri, 30 Nov 2012 14:56:54 +0000 (16:56 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 30 Nov 2012 14:56:54 +0000 (16:56 +0200)
commitb70abd5b614341947ce7d81c1de97877dec5f35e
tree8a3b27230096944185729027789f3caafe2006f1
parent15816c8e8bd5ab2f027824ea5122d7901633634a
avutil: Include io.h with a separate condition from windows console functions

Not all versions of windows have the console color functions,
while io.h might be needed for isatty (which can be found in
unistd.h or io.h).

Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/log.c