All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iptables: Add limits.h to get INT_MIN, INT_MAX, ...
@ 2009-02-21  0:28 Stephen Hemminger
  2009-02-21  1:25 ` Jan Engelhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Hemminger @ 2009-02-21  0:28 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netfilter-devel

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-25 10:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-21  0:28 [PATCH] iptables: Add limits.h to get INT_MIN, INT_MAX, Stephen Hemminger
2009-02-21  1:25 ` 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

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.