[LEDE-DEV] [PATCH procd] add limits.h because it is needed for INT_MAX

John Crispin john at phrozen.org
Mon Nov 6 00:16:14 PST 2017


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



More information about the Lede-dev mailing list