summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-15 18:58:44 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-15 18:58:44 +0000
commit515b04d08c5064d710b753d74b0e2eef80992c3a (patch)
tree14e735d473ae6da9fd7adfc1e72c1184bdb036df /src/sysdep.c
parenta2ad45b9aec9f87f07a2a8c2c58ed1768980efa9 (diff)
downloademacs-515b04d08c5064d710b753d74b0e2eef80992c3a.tar.gz
Fix previous change.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c7
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. */
#include "blockinput.h"
#undef NULL
-#ifdef HAVE_TERMIOS_H
-#include <termios.h>
-#endif
-
#define min(x,y) ((x) > (y) ? (y) : (x))
/* In this file, open, read and write refer to the system calls,
@@ -230,7 +226,8 @@ static int baud_convert[] =
};
#endif
-#if defined (HAVE_TERMIOS_H) || defined (LINUX)
+#if defined (HAVE_TERMIOS_H) && defined (LINUX)
+#include <termios.h>
/* HJL's version of libc is said to need this on the Alpha.
On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */
extern speed_t ospeed;