[lxc-devel] [PATCH] fix gcc complaint about undefined assert()

Stéphane Graber stgraber at ubuntu.com
Tue Feb 18 17:59:39 UTC 2014


On Tue, Feb 18, 2014 at 12:52:21PM -0500, Dwight Engen wrote:
> Signed-off-by: Dwight Engen <dwight.engen at oracle.com>

Thanks. But that's already been fixed :)

> ---
>  src/lxc/lxc_attach.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c
> index fc8e3ba..3fbcb82 100644
> --- a/src/lxc/lxc_attach.c
> +++ b/src/lxc/lxc_attach.c
> @@ -22,6 +22,7 @@
>   */
>  
>  #define _GNU_SOURCE
> +#include <assert.h>
>  #include <sys/wait.h>
>  #include <sys/types.h>
>  #include <stdlib.h>
> -- 
> 1.8.5.3
> 

-- 
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: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140218/6f4abffa/attachment.pgp>


More information about the lxc-devel mailing list