> I cannot get it to compile on OpenWrt. It fails when trying to compile
> rule.o:
>
> In file included from rule.c:28:0:
> babeld.h:85:8: error: unknown type name 'time_t'
> extern time_t reboot_time;

Our bug, sorry for that.  You need to include sys/types.h.

Please confirm that the attached patch fixes the issue, and I'll cut
a 1.7.1 release.

-- Juliusz

diff --git a/rule.c b/rule.c
index 4845802..ba70baf 100644
--- a/rule.c
+++ b/rule.c
@@ -24,6 +24,7 @@ THE SOFTWARE.
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
+#include <sys/types.h>
 
 #include "babeld.h"
 #include "util.h"

_______________________________________________
Babel-users mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Reply via email to