miredo: add a missing #include to fix compile errors under uclibc 0.9.32
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25297 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c9ff14eddf
commit
e4e5ac09c1
@ -1,6 +1,5 @@
|
|||||||
diff -urN miredo-1.1.6/libteredo/maintain.c miredo-1.1.6.new/libteredo/maintain.c
|
--- a/libteredo/maintain.c
|
||||||
--- miredo-1.1.6/libteredo/maintain.c 2009-04-13 11:15:15.000000000 +0200
|
+++ b/libteredo/maintain.c
|
||||||
+++ miredo-1.1.6.new/libteredo/maintain.c 2009-05-26 16:37:14.000000000 +0200
|
|
||||||
@@ -59,7 +59,7 @@
|
@@ -59,7 +59,7 @@
|
||||||
|
|
||||||
static inline void gettime (struct timespec *now)
|
static inline void gettime (struct timespec *now)
|
||||||
@ -10,3 +9,13 @@ diff -urN miredo-1.1.6/libteredo/maintain.c miredo-1.1.6.new/libteredo/maintain.
|
|||||||
if (clock_gettime (CLOCK_MONOTONIC, now) == 0)
|
if (clock_gettime (CLOCK_MONOTONIC, now) == 0)
|
||||||
return;
|
return;
|
||||||
#else
|
#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" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user