trace: add missing limits.h include lede-17.01
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 22 Jan 2018 17:51:22 +0000 (18:51 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 5 Feb 2018 14:13:50 +0000 (15:13 +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 fdffaba5f7cdb9d1e25ef3161bdd818d9c248391..1004ae92a458f9109627031ff008983c346f197a 100644 (file)
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <string.h>
 #include <syslog.h>
+#include <limits.h>
 
 #include <libubox/uloop.h>
 #include <libubox/blobmsg.h>