changeset 83095:b448166f5664

Fix #include errors for FreeBSD (Frank Ruell) src/term.c: Include termios.h, not termio.h (Reported by Frank Ruell <stoerte@dreamwarrior.net>). git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-135
author Karoly Lorentey <lorentey@elte.hu>
date Tue, 13 Apr 2004 17:12:30 +0000
parents 8e5779acd195
children eb7e8d483840
files src/term.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Sat Apr 10 23:06:09 2004 +0000
+++ b/src/term.c	Tue Apr 13 17:12:30 2004 +0000
@@ -29,7 +29,10 @@
 #include <sys/file.h>
 
 #include <unistd.h>             /* For isatty. */
-#include <termio.h>		/* For TIOCNOTTY. */
+
+#if HAVE_TERMIOS_H
+#include <termios.h>		/* For TIOCNOTTY. */
+#endif
 
 #include <signal.h>