summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/icom.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2001-08-29 14:35:15 +0000
committerroberto <roberto@FreeBSD.org>2001-08-29 14:35:15 +0000
commit40b8e415eb0f835a9dd7a473ddf134ec67877fd7 (patch)
tree3cfb63f1a112ee17469b17fc1593a88d004ddda6 /contrib/ntp/libntp/icom.c
parenta5a8dc6136fcee95f261a31609a25669038c3861 (diff)
downloadFreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.zip
FreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.tar.gz
Virgin import of ntpd 4.1.0
Diffstat (limited to 'contrib/ntp/libntp/icom.c')
-rw-r--r--contrib/ntp/libntp/icom.c12
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;
OpenPOWER on IntegriCloud