add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / ipv6 / miredo / patches / 100-uclibc.patch
1 --- a/libteredo/maintain.c
2 +++ b/libteredo/maintain.c
3 @@ -59,7 +59,7 @@
4  
5  static inline void gettime (struct timespec *now)
6  {
7 -#if (_POSIX_CLOCK_SELECTION - 0 >= 0) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0)
8 +#if (_POSIX_CLOCK_SELECTION - 0 >= 0) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0) && !defined(__UCLIBC__)
9         if (clock_gettime (CLOCK_MONOTONIC, now) == 0)
10                 return;
11  #else
12 --- a/libteredo/tunnel.h
13 +++ b/libteredo/tunnel.h
14 @@ -32,6 +32,7 @@
15  # define LIBTEREDO_TUNNEL_H
16  
17  # include <stdbool.h>
18 +# include <ctype.h>
19  
20  # ifdef __cplusplus
21  extern "C" {