Skip to contentSkip to conversation

libnl: fix missing limits.h include

PATCH Patrick McHardy 1 participant 1 message Mar 20, 2009 netfilter

lore
Share & tools
lore
#0 lore raw

commit d70b8153a31618fd49af97850dcc7bf329fbe0f5

Author: Patrick McHardy <[email protected]>
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.)

src/utils.h +1 -0
index a5c94e6..8c4e884 100644
@@ -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>