fix miredo compile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10054 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a35838ebb2
commit
02a9a6a086
13
net/miredo/patches/100-uclibc.patch
Normal file
13
net/miredo/patches/100-uclibc.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: miredo-1.0.0/libteredo/maintain.c
|
||||
===================================================================
|
||||
--- miredo-1.0.0.orig/libteredo/maintain.c 2007-12-30 16:39:41.032377076 +0100
|
||||
+++ miredo-1.0.0/libteredo/maintain.c 2007-12-30 16:39:54.569148495 +0100
|
||||
@@ -62,7 +62,7 @@
|
||||
#define PROBE_SYMMETRIC 3
|
||||
#define NOT_RUNNING (-1)
|
||||
|
||||
-#if (_POSIX_CLOCK_SELECTION - 0 >= 0) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0)
|
||||
+#if (_POSIX_CLOCK_SELECTION - 0 >= 0) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0) && !defined(__UCLIBC__)
|
||||
static inline void gettime (struct timespec *now)
|
||||
{
|
||||
if (clock_gettime (CLOCK_MONOTONIC, now))
|
Loading…
x
Reference in New Issue
Block a user