summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/ChangeLog3
-rw-r--r--kernel/ip_set_setlist.c4
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