Mercurial > emacs
diff src/sysdep.c @ 29252:c8f4d06938b9
(ospeed) [HAVE_SPEED_T]: Declare as `extern speed_t'.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Fri, 26 May 2000 15:52:33 +0000 |
| parents | 0398ec3316c5 |
| children | 2ead157165c4 |
line wrap: on
line diff
--- a/src/sysdep.c Fri May 26 15:52:01 2000 +0000 +++ b/src/sysdep.c Fri May 26 15:52:33 2000 +0000 @@ -228,6 +228,10 @@ }; #endif +#ifdef HAVE_SPEED_T +#include <termios.h> +extern speed_t ospeed; +#else #if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T) extern short ospeed; #else @@ -240,6 +244,7 @@ extern short ospeed; #endif #endif +#endif /* The file descriptor for Emacs's input terminal. Under Unix, this is normally zero except when using X;
