python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / ntp / 0001-nano.patch
blobbce34782619dcfe521ba21e860de8b22cff5c4c8
1 Fixes issues with glibc header files, see
2 http://bugs.gentoo.org/show_bug.cgi?id=270483
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
6 Rebase to apply cleanly.
8 Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
11 diff -purN a/include/ntp_syscall.h b/include/ntp_syscall.h
12 --- a/include/ntp_syscall.h 2015-02-11 08:42:37.794576469 -0500
13 +++ b/include/ntp_syscall.h 2015-02-11 08:43:03.216957279 -0500
14 @@ -10,6 +10,14 @@
15 # include <sys/timex.h>
16 #endif
18 +#if defined(ADJ_NANO) && !defined(MOD_NANO)
19 +#define MOD_NANO ADJ_NANO
20 +#endif
22 +#if defined(ADJ_TAI) && !defined(MOD_TAI)
23 +#define MOD_TAI ADJ_TAI
24 +#endif
26 #ifndef NTP_SYSCALLS_LIBC
27 # ifdef NTP_SYSCALLS_STD
28 # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))