]> git.ipfire.org Git - thirdparty/ipset.git/commitdiff
Compatibility: 'bool'
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 10 Feb 2009 14:35:42 +0000 (15:35 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 10 Feb 2009 14:35:42 +0000 (15:35 +0100)
Compatibility with old gcc without 'bool' added.

kernel/ChangeLog
kernel/ip_set_setlist.c

index 8a1f7ad4d2312ea4570dc75dded04c7578431fe6..62ecc9a3f33bf26b04c16a049cae2e97c94fc1ef 100644 (file)
@@ -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)
index a7d074f59a384eb4dc8725e9a714f670b2fffe8d..4c9eb5912962ca27b152bb5d6e4293d9821d34b3 100644 (file)
 #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