* libnl: fix missing limits.h include
@ 2009-03-20 17:02 Patrick McHardy
0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2009-03-20 17:02 UTC (permalink / raw)
To: Thomas Graf; +Cc: Netfilter Development Mailinglist
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: 02.diff --]
[-- Type: text/x-patch, Size: 747 bytes --]
commit d70b8153a31618fd49af97850dcc7bf329fbe0f5
Author: Patrick McHardy <kaber@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@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>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-20 17:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20 17:02 libnl: fix missing limits.h include Patrick McHardy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox