From: Jozsef Kadlecsik Date: Tue, 10 Feb 2009 14:35:42 +0000 (+0100) Subject: Compatibility: 'bool' X-Git-Tag: v2.4.8~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa9317d60a4cf887fe0086742412169178073806;p=thirdparty%2Fipset.git Compatibility: 'bool' Compatibility with old gcc without 'bool' added. --- diff --git a/kernel/ChangeLog b/kernel/ChangeLog index 8a1f7ad4..62ecc9a3 100644 --- a/kernel/ChangeLog +++ b/kernel/ChangeLog @@ -1,3 +1,6 @@ +2.4.8 + - Compatibility with old gcc without 'bool' added. + 2.4.7 - Typo which broke compilation with kernels < 2.6.28 fixed (reported by Richard Lucassen, Danny Rawlins) diff --git a/kernel/ip_set_setlist.c b/kernel/ip_set_setlist.c index a7d074f5..4c9eb591 100644 --- a/kernel/ip_set_setlist.c +++ b/kernel/ip_set_setlist.c @@ -16,6 +16,10 @@ #include #include +#ifndef bool +#define bool int +#endif + /* * before ==> index, ref * after ==> ref, index