Commit fa0e429b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

isatty() requires <unistd.h>

Reported-by: default avatarKO Myung-Hun <komh78@gmail.com>
parent 1c707713
......@@ -38,6 +38,7 @@ static void PauseConsole (void);
#else
# define ShowConsole() (void)0
# define PauseConsole() (void)0
# include <unistd.h>
#endif
static void Help (vlc_object_t *, const char *);
......
......@@ -52,6 +52,9 @@
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h> /* isatty() */
#endif
#ifdef HAVE_DBUS
/* used for one-instance mode */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment