[PATCH 1/3] src: use limits.h header

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

 



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@xxxxxxxxxx>
---
 src/attr.c |    3 +--
 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"
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux