summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-03-05 13:11:09 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-03-05 13:11:09 +0100
commit2a4c51da4739c6e2f24e1195f5de3f8d644b8a6b (patch)
treeb3712dc58ab3543f270fe14ec2e16920e789396d
parent30923494424b604b1d59087e06fccf0637c0c2c5 (diff)
downloadlibmnl-2a4c51da4739c6e2f24e1195f5de3f8d644b8a6b.tar.gz
libmnl-2a4c51da4739c6e2f24e1195f5de3f8d644b8a6b.zip
src: use limits.h header
values.h is not present on other systems, and the glibc copy reads right away: Old compatibility names for <limits.h> and <float.h> constants. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r--src/attr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/attr.c b/src/attr.c
index c0ba938..55a80d6 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -6,10 +6,9 @@
* by the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*/
-
+#include <limits.h> /* for INT_MAX */
#include <libmnl/libmnl.h>
#include <string.h>
-#include <values.h> /* for INT_MAX */
#include <errno.h>
#include "internal.h"