[LEDE-DEV] [PATCH procd] add limits.h because it is needed for INT_MAX

Johannes Wegener lede at johanneswegener.de
Mon Oct 23 08:55:42 PDT 2017


---
 trace/trace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/trace/trace.c b/trace/trace.c
index 76b6b7f..c471e15 100644
--- a/trace/trace.c
+++ b/trace/trace.c
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <string.h>
 #include <syslog.h>
+#include <limits.h>

 #ifndef PTRACE_EVENT_STOP
 /* PTRACE_EVENT_STOP is defined in linux/ptrace.h, but this header
-- 
2.14.2



More information about the Lede-dev mailing list