Commit ea729302 authored by mru's avatar mru

10l: fix build without termios.h

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22604 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 99c2c12c
...@@ -318,12 +318,14 @@ typedef struct AVInputFile { ...@@ -318,12 +318,14 @@ typedef struct AVInputFile {
/* init terminal so that we can grab keys */ /* init terminal so that we can grab keys */
static struct termios oldtty; static struct termios oldtty;
#endif
static void term_exit(void) static void term_exit(void)
{ {
#if HAVE_TERMIOS_H
tcsetattr (0, TCSANOW, &oldtty); tcsetattr (0, TCSANOW, &oldtty);
}
#endif #endif
}
static volatile int received_sigterm = 0; 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