summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_setlist.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2009-02-10 15:35:42 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2009-02-10 15:35:42 +0100
commitaa9317d60a4cf887fe0086742412169178073806 (patch)
tree193272d3a4e0b0fd11214eada86828c113add361 /kernel/ip_set_setlist.c
parent580d2970f4c1429a71a2ea4f8fda419b897f092d (diff)
Compatibility: 'bool'
Compatibility with old gcc without 'bool' added.
Diffstat (limited to 'kernel/ip_set_setlist.c')
-rw-r--r--kernel/ip_set_setlist.c4
1 files changed, 4 insertions, 0 deletions
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