[Olsr-dev] patches for FreeBSD
John Hay
(spam-protected)
Mon Jan 7 20:51:16 CET 2008
Hi,
The latest code in cvs do not want to compile on FreeBSD. On FreeBSD
system include files are not necessarily self contained. So the order
might be important. This patch make things compile again.
John
--
John Hay -- (spam-protected) / (spam-protected)
--- src/routing_table.c.orig 2008-01-05 15:25:23.000000000 +0200
+++ src/routing_table.c 2008-01-07 12:42:19.000000000 +0200
@@ -39,9 +39,9 @@
*
*/
+#include "defs.h"
#include "routing_table.h"
#include "ipcalc.h"
-#include "defs.h"
#include "two_hop_neighbor_table.h"
#include "tc_set.h"
#include "mid_set.h"
--- src/unix/ifnet.c.orig 2008-01-05 15:25:23.000000000 +0200
+++ src/unix/ifnet.c 2008-01-07 12:44:02.000000000 +0200
@@ -43,10 +43,10 @@
#define ifr_netmask ifr_addr
#endif
+#include "defs.h"
#include "ifnet.h"
#include "ipcalc.h"
#include "interfaces.h"
-#include "defs.h"
#include "olsr.h"
#include "net_os.h"
#include "net_olsr.h"
More information about the Olsr-dev
mailing list