Message ID | 846e5a81-3141-049f-8db5-444c1548b2f9@johanneswegener.de |
---|---|
State | Rejected |
Headers | show |
Series | [LEDE-DEV,procd] add limits.h because it is needed for INT_MAX | expand |
On 23/10/17 17:55, Johannes Wegener wrote: > --- > trace/trace.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/trace/trace.c b/trace/trace.c > index 76b6b7f..c471e15 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 How are you building this causing the error ? John
diff --git a/trace/trace.c b/trace/trace.c index 76b6b7f..c471e15 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