diff options
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index a72d1977dd3..098612a1bb5 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -226,6 +226,9 @@ static int baud_convert[] = }; #endif +#if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T) +extern short ospeed; +#else #if defined (HAVE_TERMIOS_H) && defined (LINUX) #include <termios.h> /* HJL's version of libc is said to need this on the Alpha. @@ -234,6 +237,7 @@ extern speed_t ospeed; #else extern short ospeed; #endif +#endif /* The file descriptor for Emacs's input terminal. Under Unix, this is normally zero except when using X; |
