[packages] btpd: update to 0.16
[openwrt/svn-archive/archive.git] / net / btpd / patches / 001-gettime.patch
1 --- a/evloop/timer.c
2 +++ b/evloop/timer.c
3 @@ -14,7 +14,7 @@
4 int
5 evtimer_gettime(struct timespec *ts)
6 {
7 - return clock_gettime(TIMER_CLOCK, ts);
8 + return clock_gettime(CLOCK_REALTIME, ts);
9 }
10
11 #elif defined(HAVE_MACH_ABSOLUTE_TIME)