[iptables] iptables: Add limits.h to get INT_MIN, INT_MAX, ...

Patrick McHardy netfilter-cvslog-bounces at lists.netfilter.org
Wed Feb 25 08:25:52 CET 2009


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commit;h=71886fbb48ef50e212c43f5d7dffbab86f9ae31c
commit 71886fbb48ef50e212c43f5d7dffbab86f9ae31c
Author:     Stephen Hemminger <shemminger at vyatta.com>
AuthorDate: Wed Feb 25 08:25:17 2009 +0100
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Wed Feb 25 08:25:17 2009 +0100

    iptables: Add limits.h to get INT_MIN, INT_MAX, ...
    
    Fix build failure of iptables utilities on debian/ubuntu, maybe other distros.
    The values INT_MIN and INT_MAX are used by many filters and these
    are defined in limits.h
    ---
      patch against current iptables.git
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>
       via  71886fbb48ef50e212c43f5d7dffbab86f9ae31c (commit)
      from  da68957303dea58632466d79d52f83bcbbca8925 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 71886fbb48ef50e212c43f5d7dffbab86f9ae31c
Author: Stephen Hemminger <shemminger at vyatta.com>
Date:   Wed Feb 25 08:25:17 2009 +0100

    iptables: Add limits.h to get INT_MIN, INT_MAX, ...
    
    Fix build failure of iptables utilities on debian/ubuntu, maybe other distros.
    The values INT_MIN and INT_MAX are used by many filters and these
    are defined in limits.h
    ---
      patch against current iptables.git
    
    Signed-off-by: Patrick McHardy <kaber at trash.net>

-----------------------------------------------------------------------

 include/xtables.h.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Fix build failure of iptables utilities on debian/ubuntu, maybe other distros.
The values INT_MIN and INT_MAX are used by many filters and these
are defined in limits.h
---
  patch against current iptables.git

Signed-off-by: Patrick McHardy <kaber at trash.net>

diff --git a/include/xtables.h.in b/include/xtables.h.in
index 3f556c1..d86276e 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -8,6 +8,7 @@
 
 #include <sys/socket.h> /* PF_* */
 #include <sys/types.h>
+#include <limits.h>
 #include <stdbool.h>
 #include <netinet/in.h>
 #include <net/if.h>



More information about the netfilter-cvslog mailing list