From John Hay <jhay@meraka.org.za>: compile clean on FreeBSD
authorHannes Gredler <hannes@gredler.at>
Tue, 22 Jan 2008 14:05:34 +0000 (15:05 +0100)
committerHannes Gredler <hannes@gredler.at>
Tue, 22 Jan 2008 14:05:34 +0000 (15:05 +0100)
src/ifnet.h
src/routing_table.h

index da55326..e2dd195 100644 (file)
@@ -48,6 +48,7 @@
 
 /* To get ifreq */
 #include <arpa/inet.h>
+#include <sys/socket.h>
 #include <net/if.h>
 
 #include "olsr_cfg.h"
index ede6ddb..e60468b 100644 (file)
 #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"