Commit 64f6e357 authored by Måns Rullgård's avatar Måns Rullgård

10l: fix build without termios.h

Originally committed as revision 22604 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 673fc638
......@@ -318,12 +318,14 @@ typedef struct AVInputFile {
/* init terminal so that we can grab keys */
static struct termios oldtty;
#endif
static void term_exit(void)
{
#if HAVE_TERMIOS_H
tcsetattr (0, TCSANOW, &oldtty);
}
#endif
}
static volatile int received_sigterm = 0;
......
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