diff options
Diffstat (limited to 'contrib/ntp/libntp/icom.c')
-rw-r--r-- | contrib/ntp/libntp/icom.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/contrib/ntp/libntp/icom.c b/contrib/ntp/libntp/icom.c index 4d6efc5..3b9a9a5 100644 --- a/contrib/ntp/libntp/icom.c +++ b/contrib/ntp/libntp/icom.c @@ -8,17 +8,11 @@ #include "icom.h" #include <unistd.h> #include <stdio.h> - -#ifdef HAVE_TERMIOS_H -# include <termios.h> -#endif /* HAVE_TERMIOS_H */ -#ifdef HAVE_SYS_TERMIOS_H -# include <sys/termios.h> -#endif /* HAVE_SYS_TERMIOS_H */ - #include <fcntl.h> #include <errno.h> +#include "ntp_tty.h" + /* * Scraps */ @@ -142,7 +136,7 @@ icom_init( int speed, /* line speed */ int trace /* trace flags */ ) { - struct termios ttyb; + TTY ttyb; int fd; flags = trace; |