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: NMans Rullgard <mans@mansr.com>
Showing
想要评论请 注册 或 登录