[conntrack-tools] src: fix compilation issue in gentoo due to missing include limits.h

Pablo Neira netfilter-cvslog-bounces at lists.netfilter.org
Sat Feb 21 19:15:46 CET 2009


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=conntrack-tools.git;a=commit;h=9bf002ff7935e7dff625683787fc3a06ac2ef2cb
commit 9bf002ff7935e7dff625683787fc3a06ac2ef2cb
Author:     Pablo Neira Ayuso <pablo at netfilter.org>
AuthorDate: Sat Feb 21 19:13:06 2009 +0100
Commit:     Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Sat Feb 21 19:13:06 2009 +0100

    src: fix compilation issue in gentoo due to missing include limits.h
    
    This patch adds include limits.h to mcast.c and sync-mode.c. Why Gentoo
    maintainers did not report me the problem? :(
    
    http://bugs.gentoo.org/show_bug.cgi?id=256497
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
       via  9bf002ff7935e7dff625683787fc3a06ac2ef2cb (commit)
      from  87c8c090e1b64eac27edb968845cb1e8ee65b06b (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 9bf002ff7935e7dff625683787fc3a06ac2ef2cb
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Sat Feb 21 19:13:06 2009 +0100

    src: fix compilation issue in gentoo due to missing include limits.h
    
    This patch adds include limits.h to mcast.c and sync-mode.c. Why Gentoo
    maintainers did not report me the problem? :(
    
    http://bugs.gentoo.org/show_bug.cgi?id=256497
    
    Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

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

 src/mcast.c     |    1 +
 src/sync-mode.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
This patch adds include limits.h to mcast.c and sync-mode.c. Why Gentoo
maintainers did not report me the problem? :(

http://bugs.gentoo.org/show_bug.cgi?id=256497

Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>

diff --git a/src/mcast.c b/src/mcast.c
index ba472f6..8f11762 100644
--- a/src/mcast.c
+++ b/src/mcast.c
@@ -28,6 +28,7 @@
 #include <sys/ioctl.h>
 #include <net/if.h>
 #include <errno.h>
+#include <limits.h>
 #include <libnfnetlink/libnfnetlink.h>
 
 struct mcast_sock *mcast_server_create(struct mcast_conf *conf)
diff --git a/src/sync-mode.c b/src/sync-mode.c
index d1a941b..26e1358 100644
--- a/src/sync-mode.c
+++ b/src/sync-mode.c
@@ -32,6 +32,7 @@
 #include <time.h>
 #include <string.h>
 #include <stdlib.h>
+#include <limits.h>
 #include <net/if.h>
 
 static void



More information about the netfilter-cvslog mailing list