[Olsr-dev] [PATCH] Fix build failure with -DSPOOF on OpenBSD

Stefan Sperling (spam-protected)
Sun May 14 16:36:04 CEST 2017


Add a missing include for olsr_random().
---
 src/bsd/net.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bsd/net.c b/src/bsd/net.c
index 1c6b31ed..d3b67fef 100644
--- a/src/bsd/net.c
+++ b/src/bsd/net.c
@@ -55,6 +55,7 @@
 #include "ipcalc.h"
 #include "parser.h"          /* dnc: needed for call to packet_parser() */
 #include "olsr_protocol.h"
+#include "olsr_random.h"
 #include "olsr_cfg.h"
 #include "olsr.h"
 
-- 
2.12.2




More information about the Olsr-dev mailing list