]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
cg_map: use limits.h
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 12 Dec 2024 19:29:44 +0000 (11:29 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 12 Dec 2024 23:22:22 +0000 (15:22 -0800)
Prefer limits.h from system headers over linux/limits.h
Fixes build with musl.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/cg_map.c

index e5d14d512c399391a82246039dec37781664cdc3..0feb854f7938fcdf8855f5014d88111b7380872b 100644 (file)
@@ -9,8 +9,9 @@
 #include <string.h>
 #include <stdio.h>
 #include <stdbool.h>
+#include <limits.h>
+
 #include <linux/types.h>
-#include <linux/limits.h>
 #include <ftw.h>
 
 #include "cg_map.h"