diff options
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 63ffd28b5ba..a72d1977dd3 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -27,10 +27,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 27 | #include "blockinput.h" | 27 | #include "blockinput.h" |
| 28 | #undef NULL | 28 | #undef NULL |
| 29 | 29 | ||
| 30 | #ifdef HAVE_TERMIOS_H | ||
| 31 | #include <termios.h> | ||
| 32 | #endif | ||
| 33 | |||
| 34 | #define min(x,y) ((x) > (y) ? (y) : (x)) | 30 | #define min(x,y) ((x) > (y) ? (y) : (x)) |
| 35 | 31 | ||
| 36 | /* In this file, open, read and write refer to the system calls, | 32 | /* In this file, open, read and write refer to the system calls, |
| @@ -230,7 +226,8 @@ static int baud_convert[] = | |||
| 230 | }; | 226 | }; |
| 231 | #endif | 227 | #endif |
| 232 | 228 | ||
| 233 | #if defined (HAVE_TERMIOS_H) || defined (LINUX) | 229 | #if defined (HAVE_TERMIOS_H) && defined (LINUX) |
| 230 | #include <termios.h> | ||
| 234 | /* HJL's version of libc is said to need this on the Alpha. | 231 | /* HJL's version of libc is said to need this on the Alpha. |
| 235 | On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */ | 232 | On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */ |
| 236 | extern speed_t ospeed; | 233 | extern speed_t ospeed; |