All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Patrick McHardy <kaber@trash.net>
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH] iptables: Add limits.h to get INT_MIN, INT_MAX, ...
Date: Fri, 20 Feb 2009 16:28:31 -0800	[thread overview]
Message-ID: <20090220162831.1d0bf3d4@extreme> (raw)

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

diff --git a/include/xtables.h.in b/include/xtables.h.in
index b5f1af2..e346778 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>
-- 
1.5.6.3


             reply	other threads:[~2009-02-21  0:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21  0:28 Stephen Hemminger [this message]
2009-02-21  1:25 ` [PATCH] iptables: Add limits.h to get INT_MIN, INT_MAX, Jan Engelhardt
2009-02-21  2:51   ` Jan Engelhardt
2009-02-24 14:09     ` Patrick McHardy
2009-02-24 15:22       ` Jan Engelhardt
2009-02-25  7:25         ` Patrick McHardy
2009-02-25 10:08           ` Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090220162831.1d0bf3d4@extreme \
    --to=shemminger@vyatta.com \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.