df1a01d017
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16130 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
551 B
Diff
13 lines
551 B
Diff
diff -urN miredo-1.1.6/libteredo/maintain.c miredo-1.1.6.new/libteredo/maintain.c
|
|
--- miredo-1.1.6/libteredo/maintain.c 2009-04-13 11:15:15.000000000 +0200
|
|
+++ miredo-1.1.6.new/libteredo/maintain.c 2009-05-26 16:37:14.000000000 +0200
|
|
@@ -59,7 +59,7 @@
|
|
|
|
static inline void gettime (struct timespec *now)
|
|
{
|
|
-#if (_POSIX_CLOCK_SELECTION - 0 >= 0) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0)
|
|
+#if (_POSIX_CLOCK_SELECTION - 0 >= 0) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0) && !defined(__UCLIBC__)
|
|
if (clock_gettime (CLOCK_MONOTONIC, now) == 0)
|
|
return;
|
|
#else
|