From 1bbc2886acb7a2fae5691f528e87171e107f8748 Mon Sep 17 00:00:00 2001 From: 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 git-svn-id: svn://svn.openwrt.org/openwrt/packages@19825 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 000000000..4860cb3b4 --- /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