fix main.c for non-linux OS (no tunnel support for them at the moment)
authorHenning Rogge <hrogge@googlemail.com>
Sat, 9 Jan 2010 11:16:31 +0000 (12:16 +0100)
committerHenning Rogge <hrogge@googlemail.com>
Sat, 9 Jan 2010 11:16:31 +0000 (12:16 +0100)
src/main.c

index c2033b8..6bf4a6f 100644 (file)
@@ -86,7 +86,9 @@ void olsr_reconfigure(int) __attribute__ ((noreturn));
 
 static void print_usage(void);
 
+#ifdef linux
 static const char* ipip_default_name = "olsr_tunnel";
+#endif
 
 static int set_default_ifcnfs(struct olsr_if *, struct if_config_options *);