packages/net/btpd/patches/001-gettime.patch
swalker 0638217836 [packages] btpd: update to 0.16
* drop the openssl changes that were re-added in r16657
 * update to current gnulib sha1 code
 * re-add gnulib config header guard
 * mark conffile
 * use PKG_INSTALL


git-svn-id: svn://svn.openwrt.org/openwrt/packages@24776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 03:33:49 +00:00

12 lines
242 B
Diff

--- a/evloop/timer.c
+++ b/evloop/timer.c
@@ -14,7 +14,7 @@
int
evtimer_gettime(struct timespec *ts)
{
- return clock_gettime(TIMER_CLOCK, ts);
+ return clock_gettime(CLOCK_REALTIME, ts);
}
#elif defined(HAVE_MACH_ABSOLUTE_TIME)