[nftables libnl tree] libnl: fix missing limits.h include
Patrick McHardy
netfilter-cvslog-bounces at lists.netfilter.org
Fri Mar 20 01:46:50 CET 2009
Gitweb: http://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnl-nft.git;a=commit;h=d70b8153a31618fd49af97850dcc7bf329fbe0f5
commit d70b8153a31618fd49af97850dcc7bf329fbe0f5
Author: Patrick McHardy <kaber at trash.net>
AuthorDate: Fri Mar 20 01:46:24 2009 +0100
Commit: Patrick McHardy <kaber at trash.net>
CommitDate: Fri Mar 20 01:46:24 2009 +0100
libnl: fix missing limits.h include
utils.c: In function 'parse_u32':
utils.c:23: error: 'ULONG_MAX' undeclared (first use in this function)
utils.c:23: error: (Each undeclared identifier is reported only once
utils.c:23: error: for each function it appears in.)
Signed-off-by: Patrick McHardy <kaber at trash.net>
via d70b8153a31618fd49af97850dcc7bf329fbe0f5 (commit)
from 9e3c81f64856ac0068f63f4d2b8f97c5f091e2e8 (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 d70b8153a31618fd49af97850dcc7bf329fbe0f5
Author: Patrick McHardy <kaber at trash.net>
Date: Fri Mar 20 01:46:24 2009 +0100
libnl: fix missing limits.h include
utils.c: In function 'parse_u32':
utils.c:23: error: 'ULONG_MAX' undeclared (first use in this function)
utils.c:23: error: (Each undeclared identifier is reported only once
utils.c:23: error: for each function it appears in.)
Signed-off-by: Patrick McHardy <kaber at trash.net>
-----------------------------------------------------------------------
src/utils.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
utils.c: In function 'parse_u32':
utils.c:23: error: 'ULONG_MAX' undeclared (first use in this function)
utils.c:23: error: (Each undeclared identifier is reported only once
utils.c:23: error: for each function it appears in.)
Signed-off-by: Patrick McHardy <kaber at trash.net>
diff --git a/src/utils.h b/src/utils.h
index a5c94e6..8c4e884 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -16,6 +16,7 @@
#include <string.h>
#include <stdlib.h>
#include <inttypes.h>
+#include <limits.h>
#include <errno.h>
#include <stdint.h>
#include <ctype.h>
More information about the netfilter-cvslog
mailing list