From 1aafb1aa38a344601fdbf15e57743fc89b4c320a Mon Sep 17 00:00:00 2001 From: Gabriel Kerneis Date: Tue, 23 Feb 2010 13:52:02 +0000 Subject: [PATCH] [package] babeld: fix compilation on Broadcom (2.4) Patch sent upstream. Applied in OpenWrt until the next release. Signed-off-by: Gabriel Kerneis SVN-Revision: 19825 --- net/babel/patches/001-missing-header.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net/babel/patches/001-missing-header.patch diff --git a/net/babel/patches/001-missing-header.patch b/net/babel/patches/001-missing-header.patch new file mode 100644 index 0000000000..4860cb3b44 --- /dev/null +++ b/net/babel/patches/001-missing-header.patch @@ -0,0 +1,15 @@ +Tue Feb 23 14:24:12 CET 2010 Gabriel Kerneis + * Add missing header in config.c + + This is necessary to build with a 2.4 kernel. See rtnetlink(7). +diff -rN -u old-babeld/config.c new-babeld/config.c +--- old-babeld/config.c 2010-02-23 14:33:50.000000000 +0100 ++++ new-babeld/config.c 2010-02-23 14:33:50.000000000 +0100 +@@ -26,6 +26,7 @@ + + #ifndef __APPLE__ + /* For RTPROT_BOOT */ ++#include + #include + #include + #include -- 2.30.2