--- olsrd-0.6.0.orig/src/unix/ifnet.c	2010-04-22 17:11:11.000000000 +0200
+++ olsrd-0.6.0/src/unix/ifnet.c	2010-10-10 14:34:54.000000000 +0200
@@ -547,10 +547,8 @@ chk_if_up(struct olsr_if *iface, int deb
   struct ifreq ifr;
   union olsr_ip_addr null_addr;
   size_t name_size;
-#ifdef linux
   int precedence = IPTOS_PREC(olsr_cnf->tos);
   int tos_bits = IPTOS_TOS(olsr_cnf->tos);
-#endif
 
   if (iface->host_emul)
     return -1;
