[LEDE-DEV] [PATCH 1/2 procd] trace: add missing limits.h include
Hans Dedecker
dedeckeh at gmail.com
Mon Jan 22 09:51:22 PST 2018
Fixes compile issue when using glibc as INT_MAX is reported as
undeclared.
Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
trace/trace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/trace/trace.c b/trace/trace.c
index b156e2a..1c1e757 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
--
1.9.1
More information about the Lede-dev
mailing list