]> git.pld-linux.org Git - packages/ntp.git/blame - ntp-nano.patch
- up to 4.2.8p15
[packages/ntp.git] / ntp-nano.patch
CommitLineData
f0e435e3
JR
1diff -urNp -x '*.orig' ntp-4.2.8p12.org/include/ntp_syscall.h ntp-4.2.8p12/include/ntp_syscall.h
2--- ntp-4.2.8p12.org/include/ntp_syscall.h 2011-03-26 03:03:33.000000000 +0100
3+++ ntp-4.2.8p12/include/ntp_syscall.h 2021-10-15 23:43:00.115484280 +0200
4@@ -10,6 +10,14 @@
07eeac47 5 # include <sys/timex.h>
6 #endif
7
8+#if defined(ADJ_NANO) && !defined(MOD_NANO)
9+#define MOD_NANO ADJ_NANO
10+#endif
11+
12+#if defined(ADJ_TAI) && !defined(MOD_TAI)
13+#define MOD_TAI ADJ_TAI
14+#endif
15+
16 #ifndef NTP_SYSCALLS_LIBC
f0e435e3
JR
17 # ifdef NTP_SYSCALLS_STD
18 # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))
This page took 0.054438 seconds and 4 git commands to generate.