[CRIU] [PATCH 06/15] crtools: don't include pstree.h in namespaces.h

Andrey Vagin avagin at openvz.org
Tue Nov 5 00:32:59 PST 2013


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/namespaces.h | 1 -
 mount.c              | 1 +
 namespaces.c         | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/namespaces.h b/include/namespaces.h
index 4b427f8..5694e00 100644
--- a/include/namespaces.h
+++ b/include/namespaces.h
@@ -2,7 +2,6 @@
 #define __CR_NS_H__
 
 #include "crtools.h"
-#include "pstree.h"
 #include "files.h"
 
 struct ns_desc {
diff --git a/mount.c b/mount.c
index 8b7b738..1f92653 100644
--- a/mount.c
+++ b/mount.c
@@ -18,6 +18,7 @@
 #include "util-pie.h"
 #include "log.h"
 #include "mount.h"
+#include "pstree.h"
 #include "proc_parse.h"
 #include "image.h"
 #include "namespaces.h"
diff --git a/namespaces.c b/namespaces.c
index c6e9b3f..31ce2fd 100644
--- a/namespaces.c
+++ b/namespaces.c
@@ -7,6 +7,7 @@
 #include "uts_ns.h"
 #include "ipc_ns.h"
 #include "mount.h"
+#include "pstree.h"
 #include "namespaces.h"
 #include "net.h"
 
-- 
1.8.3.1



More information about the CRIU mailing list