Quoting Natanael Copa ([email protected]):
> This fixes compile error with musl libc:
> In file included from start.c:66:0:
> monitor.h:38:12: error: 'NAME_MAX' undeclared here (not in a function)
>   char name[NAME_MAX+1];
>             ^
> 
> Signed-off-by: Natanael Copa <[email protected]>

Acked-by: Serge E. Hallyn <[email protected]>

> ---
>  src/lxc/monitor.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/lxc/monitor.h b/src/lxc/monitor.h
> index 7e2a468..a7eb110 100644
> --- a/src/lxc/monitor.h
> +++ b/src/lxc/monitor.h
> @@ -23,6 +23,7 @@
>  #ifndef __monitor_h
>  #define __monitor_h
>  
> +#include <limits.h>
>  #include <sys/param.h>
>  #include <sys/un.h>
>  
> -- 
> 1.8.5.3
> 
> _______________________________________________
> lxc-devel mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-devel
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to