From: Gabriel Kerneis Date: Tue, 23 Feb 2010 13:52:02 +0000 (+0000) Subject: [package] babeld: fix compilation on Broadcom (2.4) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=1aafb1aa38a344601fdbf15e57743fc89b4c320a [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 --- 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