[iptables] src: Missing limits.h includes
Patrick McHardy
netfilter-cvslog-bounces at lists.netfilter.org
Mon Sep 1 15:08:14 CEST 2008
Gitweb: http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commit;h=9a90f9075cbcaa743c93b57f12f6e38b04dfc790
commit 9a90f9075cbcaa743c93b57f12f6e38b04dfc790
Author: Phil Oester <kernel at linuxace.com>
AuthorDate: Mon Sep 1 15:07:26 2008 +0200
Commit: Patrick McHardy <kaber at trash.net>
CommitDate: Mon Sep 1 15:07:26 2008 +0200
src: Missing limits.h includes
Latest git doesn't compile for me on Fedora 9 due to various *MAX constants
being undefined. Below adds the include in 3 files which need it (although
I can't see why this isn't required in 1.4.1.1).
Signed-off-by: Phil Oester <kernel at linuxace.com>
Signed-off-by: Patrick McHardy <kaber at trash.net>
via 9a90f9075cbcaa743c93b57f12f6e38b04dfc790 (commit)
from a4be7cb319212ba7907a541bbb5f9af1ffa7db0f (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 9a90f9075cbcaa743c93b57f12f6e38b04dfc790
Author: Phil Oester <kernel at linuxace.com>
Date: Mon Sep 1 15:07:26 2008 +0200
src: Missing limits.h includes
Latest git doesn't compile for me on Fedora 9 due to various *MAX constants
being undefined. Below adds the include in 3 files which need it (although
I can't see why this isn't required in 1.4.1.1).
Signed-off-by: Phil Oester <kernel at linuxace.com>
Signed-off-by: Patrick McHardy <kaber at trash.net>
-----------------------------------------------------------------------
extensions/libxt_esp.c | 2 ++
extensions/libxt_owner.c | 1 +
extensions/libxt_time.c | 2 ++
3 files changed, 5 insertions(+), 0 deletions(-)
Latest git doesn't compile for me on Fedora 9 due to various *MAX constants
being undefined. Below adds the include in 3 files which need it (although
I can't see why this isn't required in 1.4.1.1).
Signed-off-by: Phil Oester <kernel at linuxace.com>
Signed-off-by: Patrick McHardy <kaber at trash.net>
diff --git a/extensions/libxt_esp.c b/extensions/libxt_esp.c
index 544d7b3..06da33e 100644
--- a/extensions/libxt_esp.c
+++ b/extensions/libxt_esp.c
@@ -5,6 +5,8 @@
#include <stdlib.h>
#include <getopt.h>
#include <errno.h>
+#include <limits.h>
+
#include <xtables.h>
#include <linux/netfilter/xt_esp.h>
diff --git a/extensions/libxt_owner.c b/extensions/libxt_owner.c
index 7c66663..7cad35c 100644
--- a/extensions/libxt_owner.c
+++ b/extensions/libxt_owner.c
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <limits.h>
#include <xtables.h>
#include <linux/netfilter/xt_owner.h>
diff --git a/extensions/libxt_time.c b/extensions/libxt_time.c
index f2bb51f..989806d 100644
--- a/extensions/libxt_time.c
+++ b/extensions/libxt_time.c
@@ -18,6 +18,8 @@
#include <stdlib.h>
#include <stddef.h>
#include <time.h>
+#include <limits.h>
+
#include <linux/netfilter/xt_time.h>
#include <xtables.h>
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*x))
More information about the netfilter-cvslog
mailing list