Mercurial > emacs
diff src/term.c @ 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 | 347ce3d5d79c |
| children | 4970ad4995f5 |
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>
