diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2009-02-10 15:35:42 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2009-02-10 15:35:42 +0100 |
commit | aa9317d60a4cf887fe0086742412169178073806 (patch) | |
tree | 193272d3a4e0b0fd11214eada86828c113add361 /kernel | |
parent | 580d2970f4c1429a71a2ea4f8fda419b897f092d (diff) |
Compatibility: 'bool'
Compatibility with old gcc without 'bool' added.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/ChangeLog | 3 | ||||
-rw-r--r-- | kernel/ip_set_setlist.c | 4 |
2 files changed, 7 insertions, 0 deletions
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 <linux/netfilter_ipv4/ip_set_bitmaps.h> #include <linux/netfilter_ipv4/ip_set_setlist.h> +#ifndef bool +#define bool int +#endif + /* * before ==> index, ref * after ==> ref, index |