From: Natanael Copa Date: Wed, 29 Jan 2014 14:23:46 +0000 (+0000) Subject: Include limits.h for NAME_MAX X-Git-Tag: lxc-1.0.0.beta4~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9870943ecdba3f9a8eeff2b31e3a878368f6566;p=thirdparty%2Flxc.git Include limits.h for NAME_MAX 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 Acked-by: Serge E. Hallyn --- diff --git a/src/lxc/monitor.h b/src/lxc/monitor.h index 7e2a468fa..a7eb11052 100644 --- a/src/lxc/monitor.h +++ b/src/lxc/monitor.h @@ -23,6 +23,7 @@ #ifndef __monitor_h #define __monitor_h +#include #include #include