aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/include/adjtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/include/adjtime.h')
-rw-r--r--contrib/ntp/include/adjtime.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/ntp/include/adjtime.h b/contrib/ntp/include/adjtime.h
index 74d91eb2719d..b6e2a3e99541 100644
--- a/contrib/ntp/include/adjtime.h
+++ b/contrib/ntp/include/adjtime.h
@@ -39,6 +39,10 @@
#include "ntp_types.h"
+#ifdef __QNXNTO__
+int adjtime( const struct timeval * oldtime, struct timeval * newtime );
+#else /* not __QNXNTO__ */
+
#define KEY 659847L
typedef union {
@@ -61,3 +65,5 @@ typedef union {
*/
#define DELTA1 0
#define DELTA2 1
+
+#endif /* not __QNXNTO__ */