Hi,
I noticed a warning on clone call in namespace.c, due to config.h not
being included.
Attached patch fixes this issue.
--
Frederic Crozat <fcro...@suse.com>
SUSE
>From 70b79f9b03cf42e281e723b90297948a0af0cc14 Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcro...@suse.com>
Date: Thu, 19 Apr 2012 19:02:08 +0200
Subject: [PATCH] include config.h header in namespace.c
fix warning on clone call
---
src/lxc/namespace.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c
index 3e6fc3a..b973d52 100644
--- a/src/lxc/namespace.c
+++ b/src/lxc/namespace.c
@@ -21,6 +21,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "config.h"
#include <unistd.h>
#include <alloca.h>
#include <errno.h>
--
1.7.7
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel