bk: 433616f5eyaYWx9o6xjoabN6fIzTJA
#include "ntp_types.h"
-#ifdef __QNXNTO__
-int adjtime( const struct timeval * oldtime, struct timeval * newtime );
-#else /* not __QNXNTO__ */
-
#define KEY 659847L
typedef union {
*/
#define DELTA1 0
#define DELTA2 1
-
-#endif /* not __QNXNTO__ */
# include <ifaddrs.h>
#endif
+# ifdef __QNXNTO__
+# include <fcntl.h>
+# include <unix.h>
+# define FNDELAY O_NDELAY
+# endif
+
#include "ntp_machine.h"
#include "ntpd.h"
#include "ntp_io.h"
# define USE_SIGIO
# endif
-# ifdef __QNXNTO__
-# include <fcntl.h>
-# include <unix.h>
-# define FNDELAY O_NDELAY
-# endif
-
# if defined(USE_SIGIO) && defined(USE_SIGPOLL)
# if SIGIO == SIGPOLL
# define USE_SIGIO
#if defined HAVE_SYS_MODEM_H
# include <sys/modem.h>
-# define TIOCMSET MCSETA
-# define TIOCMGET MCGETA
-# define TIOCM_RTS MRTS
+# ifndef __QNXNTO__
+# define TIOCMSET MCSETA
+# define TIOCMGET MCGETA
+# define TIOCM_RTS MRTS
+# endif
#endif
#ifdef HAVE_TERMIOS_H
#if defined HAVE_SYS_MODEM_H
# include <sys/modem.h>
-# define TIOCMSET MCSETA
-# define TIOCMGET MCGETA
-# define TIOCM_RTS MRTS
+# ifndef __QNXNTO__
+# define TIOCMSET MCSETA
+# define TIOCMGET MCGETA
+# define TIOCM_RTS MRTS
+# endif
#endif
#ifdef HAVE_TERMIOS_H
#if defined HAVE_SYS_MODEM_H
#include <sys/modem.h>
+#ifndef __QNXNTO__
#define TIOCMSET MCSETA
#define TIOCMGET MCGETA
#define TIOCM_RTS MRTS
#endif
+#endif
#ifdef HAVE_TERMIOS_H
# ifdef TERMIOS_NEEDS__SVID3
#include <arpa/inet.h>
-#ifdef __QNXNTO__
-# include "adjtime.h"
-#endif
-
#ifdef SYS_VXWORKS
# include "ioLib.h"
# include "sockLib.h"