From 8e9d77106f110895bc6e817d64156afacb24e5ee Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Wed, 1 Jul 2009 11:58:41 +0200 Subject: [PATCH] fix compilation warning with malloc Add missing include stdlib.h Signed-off-by: Daniel Lezcano --- src/lxc/lxc_execute.c | 1 + src/lxc/lxc_monitor.c | 1 + 2 files changed, 2 insertions(+) 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