projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846e20c
)
trace: add missing limits.h include
author
Hans Dedecker
<dedeckeh@gmail.com>
Mon, 22 Jan 2018 17:51:22 +0000
(18:51 +0100)
committer
John 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
patch
|
blob
|
history
diff --git
a/trace/trace.c
b/trace/trace.c
index b156e2adfd764a41fd68e727a2df9b65a7a343d2..1c1e75753fc910fad78f4aec4c7a01f3a55d6f29 100644
(file)
--- 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