diff options
author | /C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu> | 2008-06-17 08:16:45 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu> | 2008-06-17 08:16:45 +0000 |
commit | a3d8e3f37ad0dad12e2efdd71c2e0acdec82a2c3 (patch) | |
tree | dbcad67309a54577fa2b263447dd12876556654e | |
parent | b991e7d1507b2e9db9a4cf181c61b1286e2df0ff (diff) |
limits.h is required for UINT_MAX with glibc-2.8
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ipset_iphash.c | 1 | ||||
-rw-r--r-- | ipset_ipporthash.c | 1 | ||||
-rw-r--r-- | ipset_iptree.c | 1 | ||||
-rw-r--r-- | ipset_iptreemap.c | 1 | ||||
-rw-r--r-- | ipset_nethash.c | 1 |
6 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,6 @@ +[2.3.2] + - including limits.h for UINT_MAX is required with glibc-2.8 (pud) + 2.3.1 - segfault on --unbind :all: :all: fixed (reported by bugzilla, report and patch sent by Tom Eastep) diff --git a/ipset_iphash.c b/ipset_iphash.c index b42cc21..0169666 100644 --- a/ipset_iphash.c +++ b/ipset_iphash.c @@ -16,6 +16,7 @@ */ #include <errno.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/ipset_ipporthash.c b/ipset_ipporthash.c index ef527fa..d81dab6 100644 --- a/ipset_ipporthash.c +++ b/ipset_ipporthash.c @@ -16,6 +16,7 @@ */ #include <errno.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/ipset_iptree.c b/ipset_iptree.c index c3678df..f2c9a5c 100644 --- a/ipset_iptree.c +++ b/ipset_iptree.c @@ -15,6 +15,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/ipset_iptreemap.c b/ipset_iptreemap.c index ccc5ec3..0a8dc21 100644 --- a/ipset_iptreemap.c +++ b/ipset_iptreemap.c @@ -15,6 +15,7 @@ * Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <limits.h> #include <stdio.h> #include <string.h> #include <sys/socket.h> diff --git a/ipset_nethash.c b/ipset_nethash.c index 5fd6153..fda3dbe 100644 --- a/ipset_nethash.c +++ b/ipset_nethash.c @@ -16,6 +16,7 @@ */ #include <errno.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |