summaryrefslogtreecommitdiff
path: root/ntpd/refclock_hopfser.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/refclock_hopfser.c')
-rw-r--r--ntpd/refclock_hopfser.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ntpd/refclock_hopfser.c b/ntpd/refclock_hopfser.c
index 1d273333465d..94b660be236e 100644
--- a/ntpd/refclock_hopfser.c
+++ b/ntpd/refclock_hopfser.c
@@ -30,9 +30,11 @@
#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