Thread (2 messages) 2 messages, 2 authors, 2021-07-22
STALE1894d

[PATCH BlueZ] tools/mesh-cfgtest: include limits.h

From: Michael Nosthoff <hidden>
Date: 2021-07-22 21:03:42
Subsystem: the rest · Maintainer: Linus Torvalds

mesh-cfgtest.c uses MAX_PATH so it should include limits.h.

fixes compilation error with musl-based toolchains.
---
 tools/mesh-cfgtest.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/tools/mesh-cfgtest.c b/tools/mesh-cfgtest.c
index fa0474faa..116ab7f16 100644
--- a/tools/mesh-cfgtest.c
+++ b/tools/mesh-cfgtest.c
@@ -21,6 +21,7 @@
 #include <ftw.h>
 #include <getopt.h>
 #include <libgen.h>
+#include <limits.h>
 #include <signal.h>
 #include <stdio.h>
 #include <time.h>
-- 
2.32.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help