logger: fix compilation on OS/2
authorKO Myung-Hun <komh78@gmail.com>
Mon, 23 Feb 2015 13:27:57 +0000 (22:27 +0900)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 23 Feb 2015 16:51:01 +0000 (17:51 +0100)
commit5253cf2846367583947f7f829e47f06bd7fefb92
tree53c05d2a2dd9e662cb5260323bab5a0b18318fa0
parent77ceba81a2b7088bdf852e93155e9a8b90ecc24c
logger: fix compilation on OS/2

-----
  CC       logger/console.lo
logger/console.c: In function 'Open':
logger/console.c:115:5: error: implicit declaration of function 'isatty' [-Werror=implicit-function-declaration]
     if (isatty(STDERR_FILENO) && var_InheritBool(obj, "color"))
     ^
logger/console.c:115:16: error: 'STDERR_FILENO' undeclared (first use in this function)
     if (isatty(STDERR_FILENO) && var_InheritBool(obj, "color"))
                ^
logger/console.c:115:16: note: each undeclared identifier is reported only once for each function it appears in
cc1.exe: some warnings being treated as errors
-----

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/logger/console.c