summaryrefslogtreecommitdiff
path: root/package/miredo/patches/patch-libteredo_maintain_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/miredo/patches/patch-libteredo_maintain_c')
-rw-r--r--package/miredo/patches/patch-libteredo_maintain_c19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/miredo/patches/patch-libteredo_maintain_c b/package/miredo/patches/patch-libteredo_maintain_c
new file mode 100644
index 000000000..a98fba00b
--- /dev/null
+++ b/package/miredo/patches/patch-libteredo_maintain_c
@@ -0,0 +1,19 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- miredo-1.1.6.orig/libteredo/maintain.c 2009-04-13 11:15:15.000000000 +0200
++++ miredo-1.1.6/libteredo/maintain.c 2009-05-10 18:21:51.000000000 +0200
+@@ -56,6 +56,7 @@
+ #include "maintain.h"
+ #include "v4global.h" // is_ipv4_global_unicast()
+ #include "debug.h"
++#define pthread_condattr_setclock( a, c ) (((c) != CLOCK_REALTIME) ? EINVAL : 0)
+
+ static inline void gettime (struct timespec *now)
+ {
+@@ -63,7 +64,6 @@ static inline void gettime (struct times
+ if (clock_gettime (CLOCK_MONOTONIC, now) == 0)
+ return;
+ #else
+-# define pthread_condattr_setclock( a, c ) (((c) != CLOCK_REALTIME) ? EINVAL : 0)
+ # ifndef CLOCK_MONOTONIC
+ # define CLOCK_MONOTONIC CLOCK_REALTIME
+ # endif