From: Daniel Lezcano Date: Wed, 1 Jul 2009 09:58:41 +0000 (+0200) Subject: fix compilation warning with malloc X-Git-Tag: lxc_0_6_3~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e9d77106f110895bc6e817d64156afacb24e5ee;p=thirdparty%2Flxc.git fix compilation warning with malloc Add missing include stdlib.h Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/lxc_execute.c b/src/lxc/lxc_execute.c index aea7a3c56..9ca53b4ba 100644 --- a/src/lxc/lxc_execute.c +++ b/src/lxc/lxc_execute.c @@ -22,6 +22,7 @@ */ #define _GNU_SOURCE #include +#include #include #include #include diff --git a/src/lxc/lxc_monitor.c b/src/lxc/lxc_monitor.c index ff91a2f2b..4befa15a9 100644 --- a/src/lxc/lxc_monitor.c +++ b/src/lxc/lxc_monitor.c @@ -21,6 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include +#include #include #include #include