From: Matthias Andree Date: Sat, 11 Jan 2003 00:41:55 +0000 (+0100) Subject: Fix "implicit declaration" warning for ioctl on non-WINNT systems. X-Git-Tag: NTP_4_1_73~3^2^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2c99b4f47df45773f2b87b117efdc4eb258329b;p=thirdparty%2Fntp.git Fix "implicit declaration" warning for ioctl on non-WINNT systems. bk: 3e1f6853tb5Yk32c1ZLhRArNDUmWIg --- diff --git a/ntpd/refclock_hopfpci.c b/ntpd/refclock_hopfpci.c index a9deb21c17..f05229faca 100644 --- a/ntpd/refclock_hopfpci.c +++ b/ntpd/refclock_hopfpci.c @@ -48,6 +48,7 @@ #ifndef SYS_WINNT # include +# include # include # include # include @@ -212,7 +213,7 @@ hopfpci_poll( up = (struct hopfpciTime *)pp->unitptr; #ifndef SYS_WINNT - ioctl(fd,HOPF_CLOCK_GET_UTC,&m_time); + ioctl(fd,HOPF_CLOCK_GET_UTC,&m_time); #else GetHopfSystemTime(&m_time); #endif