2011-02-01 21:41:45 +00:00
|
|
|
--- a/libteredo/maintain.c
|
|
|
|
+++ b/libteredo/maintain.c
|
2009-05-26 14:40:17 +00:00
|
|
|
@@ -59,7 +59,7 @@
|
2007-12-30 15:41:40 +00:00
|
|
|
|
|
|
|
static inline void gettime (struct timespec *now)
|
|
|
|
{
|
2009-05-26 14:40:17 +00:00
|
|
|
-#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
|
2011-02-01 21:41:45 +00:00
|
|
|
--- 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" {
|