libnl: fix missing limits.h include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit d70b8153a31618fd49af97850dcc7bf329fbe0f5
Author: Patrick McHardy <kaber@xxxxxxxxx>
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@xxxxxxxxx>

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>

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux