diff options
| author | Gerd Moellmann | 2000-05-26 15:52:33 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-05-26 15:52:33 +0000 |
| commit | f0d21750932435a810749ddfa04f798dfd5636dc (patch) | |
| tree | 098eadce822ff54d5808de644ea889c393ad70fa /src/sysdep.c | |
| parent | ab810648cf62ee4aa8e79c262b8171abfce38a23 (diff) | |
| download | emacs-f0d21750932435a810749ddfa04f798dfd5636dc.tar.gz emacs-f0d21750932435a810749ddfa04f798dfd5636dc.zip | |
(ospeed) [HAVE_SPEED_T]: Declare as `extern speed_t'.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 36c204ff11a..e5e46f77cbc 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -228,6 +228,10 @@ static int baud_convert[] = | |||
| 228 | }; | 228 | }; |
| 229 | #endif | 229 | #endif |
| 230 | 230 | ||
| 231 | #ifdef HAVE_SPEED_T | ||
| 232 | #include <termios.h> | ||
| 233 | extern speed_t ospeed; | ||
| 234 | #else | ||
| 231 | #if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T) | 235 | #if defined (HAVE_LIBNCURSES) && ! defined (NCURSES_OSPEED_T) |
| 232 | extern short ospeed; | 236 | extern short ospeed; |
| 233 | #else | 237 | #else |
| @@ -240,6 +244,7 @@ extern speed_t ospeed; | |||
| 240 | extern short ospeed; | 244 | extern short ospeed; |
| 241 | #endif | 245 | #endif |
| 242 | #endif | 246 | #endif |
| 247 | #endif | ||
| 243 | 248 | ||
| 244 | /* The file descriptor for Emacs's input terminal. | 249 | /* The file descriptor for Emacs's input terminal. |
| 245 | Under Unix, this is normally zero except when using X; | 250 | Under Unix, this is normally zero except when using X; |