oops, removed too much in the previous commit. We still want to compile
authoraaron <aaron@texas.funkfeuer.at>
Mon, 22 Mar 2010 17:20:17 +0000 (18:20 +0100)
committeraaron <aaron@texas.funkfeuer.at>
Mon, 22 Mar 2010 17:20:17 +0000 (18:20 +0100)
and run under Linux, I guess...

src/cfgparser/olsrd_conf.c
src/main.c

index dce62d1..dcb3b0c 100644 (file)
@@ -212,6 +212,7 @@ olsrd_print_interface_cnf(struct if_config_options *cnf, struct if_config_option
 
 #ifdef linux
 static int olsrd_sanity_check_rtpolicy(struct olsrd_config *cnf) {
+  int prio;
 
   /* calculate rt_policy defaults if necessary */
   if (!cnf->smart_gw_active) {
index 935f373..9b5e615 100644 (file)
@@ -205,6 +205,10 @@ int main(int argc, char *argv[]) {
   bool loadedConfig = false;
   int i;
 
+#ifdef LINUX_NETLINK_ROUTING
+  struct interface *ifn;
+#endif
+
 #ifdef WIN32
   WSADATA WsaData;
   size_t len;