From aa9317d60a4cf887fe0086742412169178073806 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Tue, 10 Feb 2009 15:35:42 +0100 Subject: Compatibility: 'bool' Compatibility with old gcc without 'bool' added. --- kernel/ChangeLog | 3 +++ kernel/ip_set_setlist.c | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'kernel') diff --git a/kernel/ChangeLog b/kernel/ChangeLog index 8a1f7ad..62ecc9a 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 a7d074f..4c9eb59 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 -- cgit v1.2.3