summaryrefslogtreecommitdiffstats
path: root/ipv6/miredo/patches/100-uclibc.patch
blob: 8818402f8ccac6b84118e7d8eb28235bb06ad934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/libteredo/maintain.c
+++ b/libteredo/maintain.c
@@ -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
--- a/libteredo/tunnel.h
+++ b/libteredo/tunnel.h
@@ -32,6 +32,7 @@
 # define LIBTEREDO_TUNNEL_H
 
 # include <stdbool.h>
+# include <ctype.h>
 
 # ifdef __cplusplus
 extern "C" {