log: include unistd.h only when needed
authorMans Rullgard <mans@mansr.com>
Thu, 21 Jun 2012 15:33:36 +0000 (16:33 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 21 Jun 2012 21:53:35 +0000 (22:53 +0100)
commit539df61193f2452ddeb74999f0ae301d7a7318cc
tree2116cd937e6229a379e817b17d1f1e5918f0e856
parentc19e0ebe532360aee043b5fb275257dc008968c3
log: include unistd.h only when needed

The only symbol this file uses from unistd.h is isatty().  By
including the header only when this function is used, the file
can be built on systems without unistd.h (which presumably also
lack isatty).

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavutil/log.c