]> git.ipfire.org Git - thirdparty/lxc.git/commit
Include limits.h for NAME_MAX
authorNatanael Copa <ncopa@alpinelinux.org>
Wed, 29 Jan 2014 14:23:46 +0000 (14:23 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 29 Jan 2014 16:15:52 +0000 (16:15 +0000)
commitf9870943ecdba3f9a8eeff2b31e3a878368f6566
tree7852db2eae2b2cc1229c157874738209458e6b6e
parent65441ac9e57369e2ae31ada6998bffa0b1ae7511
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 <ncopa@alpinelinux.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/monitor.h