[Babel-users] ANNOUNCE: babeld-1.7.0

Juliusz Chroboczek jch at pps.univ-paris-diderot.fr
Sat Feb 13 13:29:54 UTC 2016


> 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"



More information about the Babel-users mailing list