trace: add missing limits.h include
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 22 Jan 2018 17:51:22 +0000 (18:51 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 23 Jan 2018 07:36:03 +0000 (08:36 +0100)
Fixes compile issue when using glibc as INT_MAX is reported as
undeclared.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
trace/trace.c

index b156e2adfd764a41fd68e727a2df9b65a7a343d2..1c1e75753fc910fad78f4aec4c7a01f3a55d6f29 100644 (file)
@@ -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