diff options
author | ed <ed@FreeBSD.org> | 2008-06-05 17:46:32 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-06-05 17:46:32 +0000 |
commit | 64b4dcdc79c4b26aad1ac660f5fdf3aa507609bd (patch) | |
tree | 9662ad85d19b88a23525398bd0f3d165f6bfd2c5 | |
parent | 82f26711e22fa85a3c2538b63306cd6dade76d08 (diff) | |
download | FreeBSD-src-64b4dcdc79c4b26aad1ac660f5fdf3aa507609bd.zip FreeBSD-src-64b4dcdc79c4b26aad1ac660f5fdf3aa507609bd.tar.gz |
Make ppp use <termios.h>, not <sys/tty.h>.
ppp's physical.c is filled with calls to termios. For some reason, it
includes <sys/tty.h>, not <termios.h>. Even though this works with the
current version of FreeBSD, we'd better follow the standards.
Approved by: philip (mentor)
-rw-r--r-- | usr.sbin/ppp/physical.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c index adcd2cf..ed3ab9c 100644 --- a/usr.sbin/ppp/physical.c +++ b/usr.sbin/ppp/physical.c @@ -37,9 +37,9 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <sys/tty.h> /* TIOCOUTQ */ #include <sys/uio.h> #include <sysexits.h> +#include <termios.h> #include <time.h> #include <unistd.h> #include <utmp.h> |