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 b156e2a..1c1e757 100644 (file)
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <string.h>
 #include <syslog.h>
 #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
 
 #ifndef PTRACE_EVENT_STOP
 /* PTRACE_EVENT_STOP is defined in linux/ptrace.h, but this header