route.c: include time.h, required for eglibc and glibc based systems
[project/relayd.git] / relayd.h
index e21ca08..ff30b67 100644 (file)
--- a/relayd.h
+++ b/relayd.h
 
 #include <linux/if_packet.h>
 #include <linux/rtnetlink.h>
-#include <linux/neighbour.h>
 
 #include <stdint.h>
 #include <stdbool.h>
 
-#include "uloop.h"
-#include "list.h"
+#include <libubox/uloop.h>
+#include <libubox/list.h>
 
 #define DEBUG
 #ifdef DEBUG
@@ -100,6 +99,8 @@ struct rtnl_req {
 extern struct list_head interfaces;
 extern int debug;
 extern int route_table;
+extern uint8_t local_addr[4];
+extern int local_route_table;
 
 void rtnl_route_set(struct relayd_host *host, struct relayd_route *route, bool add);