mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
21 lines
393 B
Diff
21 lines
393 B
Diff
|
http://bugs.gentoo.org/270483
|
||
|
|
||
|
ripped from fedora
|
||
|
|
||
|
--- ntp-4.2.4p7/include/ntp_syscall.h
|
||
|
+++ ntp-4.2.4p7/include/ntp_syscall.h
|
||
|
@@ -14,5 +14,13 @@
|
||
|
# include <sys/timex.h>
|
||
|
#endif
|
||
|
|
||
|
+#if defined(ADJ_NANO) && !defined(MOD_NANO)
|
||
|
+#define MOD_NANO ADJ_NANO
|
||
|
+#endif
|
||
|
+
|
||
|
+#if defined(ADJ_TAI) && !defined(MOD_TAI)
|
||
|
+#define MOD_TAI ADJ_TAI
|
||
|
+#endif
|
||
|
+
|
||
|
#ifndef NTP_SYSCALLS_LIBC
|
||
|
#ifdef NTP_SYSCALLS_STD
|