[lxc-devel] [PATCH 3/3] lxc: include sched.h to have a declaration of clone().
Stéphane Graber
stgraber at ubuntu.com
Sun Nov 11 16:28:13 UTC 2012
On 11/10/2012 11:55 PM, Diego Elio Pettenò wrote:
> This avoids an implicit declaration.
>
> Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
> ---
> src/lxc/namespace.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c
> index 3e6fc3a..1f7684e 100644
> --- a/src/lxc/namespace.c
> +++ b/src/lxc/namespace.c
> @@ -30,6 +30,7 @@
> #include <sys/types.h>
> #include <sys/stat.h>
> #include <fcntl.h>
> +#include <sched.h>
>
> #include "namespace.h"
> #include "log.h"
This was proposed and discarded already a few weeks back as namespace.h
includes sched.h.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121111/cbca270b/attachment.pgp>
More information about the lxc-devel
mailing list