Mercurial > mplayer.hg
comparison linux/getch2.c @ 3281:310c0b9bea21
detect termios.h if no sys/termios.h (qnx getch2 support working)
author | alex |
---|---|
date | Mon, 03 Dec 2001 15:22:03 +0000 |
parents | 16576e05b93a |
children | 334bae48841b |
comparison
equal
deleted
inserted
replaced
3280:542f7c228e38 | 3281:310c0b9bea21 |
---|---|
14 #include <sys/time.h> | 14 #include <sys/time.h> |
15 #include <sys/types.h> | 15 #include <sys/types.h> |
16 #ifdef USE_IOCTL | 16 #ifdef USE_IOCTL |
17 #include <sys/ioctl.h> | 17 #include <sys/ioctl.h> |
18 #endif | 18 #endif |
19 #ifdef HAVE_TERMIOS | 19 |
20 #ifdef HAVE_TERMIOS | |
21 #ifdef HAVE_TERMIOS_H | |
22 #include <termios.h> | |
23 #endif | |
24 #ifdef HAVE_TERMIOS_SYS_H | |
20 #include <sys/termios.h> | 25 #include <sys/termios.h> |
21 #endif | 26 #endif |
27 #endif | |
28 | |
22 #include <unistd.h> | 29 #include <unistd.h> |
23 | 30 |
24 #include "keycodes.h" | 31 #include "keycodes.h" |
25 | 32 |
26 #ifdef HAVE_TERMIOS | 33 #ifdef HAVE_TERMIOS |