[Olsr-dev] patches for FreeBSD
John Hay
(spam-protected)
Tue Jan 22 14:50:59 CET 2008
On Tue, Jan 08, 2008 at 12:57:26PM +0200, John Hay wrote:
> > >From which .h file does the "u_long" type (and the others below) come
> > from?
> >
> > Just add a #include line before before the `#include <net/route.h>` in
> > src/routing_table.h.
>
> Ok, here is my new patch.
Any chance that this patch can be applied? Or at least given feedback?
John
--
John Hay -- (spam-protected) / (spam-protected)
--- src/routing_table.h.orig 2008-01-02 16:00:21.000000000 +0200
+++ src/routing_table.h 2008-01-08 12:42:51.000000000 +0200
@@ -42,6 +42,10 @@
#ifndef _OLSR_ROUTING_TABLE
#define _OLSR_ROUTING_TABLE
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/socket.h>
+#include <net/if.h>
#include <net/route.h>
#include "hna_set.h"
#include "link_set.h"
--- src/ifnet.h.orig 2008-01-02 16:00:20.000000000 +0200
+++ src/ifnet.h 2008-01-08 12:43:32.000000000 +0200
@@ -48,6 +48,7 @@
/* To get ifreq */
#include <arpa/inet.h>
+#include <sys/socket.h>
#include <net/if.h>
#include "olsr_cfg.h"
More information about the Olsr-dev
mailing list