diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-01-12 21:38:46 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-01-12 21:38:46 +0100 |
commit | 40f8526a8d9264ccc297c6df5f48f900fc681e9c (patch) | |
tree | 7ba1253cf151ac91698f7bcea19a7aa4dc9936f9 /recipes-support/ntp/files/ntp-4.2.4_p6-nano.patch | |
parent | bae916335fd32dc08ce8da360a8d2f5d1beb012a (diff) | |
download | meta-openembedded-40f8526a8d9264ccc297c6df5f48f900fc681e9c.tar.gz |
ntp: import from OE
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-support/ntp/files/ntp-4.2.4_p6-nano.patch')
-rw-r--r-- | recipes-support/ntp/files/ntp-4.2.4_p6-nano.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-support/ntp/files/ntp-4.2.4_p6-nano.patch b/recipes-support/ntp/files/ntp-4.2.4_p6-nano.patch new file mode 100644 index 0000000000..cb1e2f7341 --- /dev/null +++ b/recipes-support/ntp/files/ntp-4.2.4_p6-nano.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | --- a/include/ntp_syscall.h.orig 2009-05-19 16:44:55.048156467 -0400 | ||
2 | +++ b/include/ntp_syscall.h 2009-05-19 16:46:19.293323686 -0400 | ||
3 | @@ -14,6 +14,14 @@ | ||
4 | # include <sys/timex.h> | ||
5 | #endif | ||
6 | |||
7 | +#if defined(ADJ_NANO) && !defined(MOD_NANO) | ||
8 | +#define MOD_NANO ADJ_NANO | ||
9 | +#endif | ||
10 | + | ||
11 | +#if defined(ADJ_TAI) && !defined(MOD_TAI) | ||
12 | +#define MOD_TAI ADJ_TAI | ||
13 | +#endif | ||
14 | + | ||
15 | #ifndef NTP_SYSCALLS_LIBC | ||
16 | #ifdef NTP_SYSCALLS_STD | ||
17 | # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t)) | ||