[CRIU] [PATCH 13/15] crtools: don't include servicefd.h in crtools.h

Andrey Vagin avagin at openvz.org
Tue Nov 5 00:33:06 PST 2013


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

diff --git a/crtools.c b/crtools.c
index 66d207c..d361b81 100644
--- a/crtools.c
+++ b/crtools.c
@@ -20,6 +20,7 @@
 
 #include "compiler.h"
 #include "crtools.h"
+#include "servicefd.h"
 #include "sockets.h"
 #include "syscall.h"
 #include "files.h"
diff --git a/include/crtools.h b/include/crtools.h
index f0888cc..944d73d 100644
--- a/include/crtools.h
+++ b/include/crtools.h
@@ -9,7 +9,6 @@
 #include "util.h"
 #include "lock.h"
 #include "cr-show.h"
-#include "servicefd.h"
 
 #include "protobuf/vma.pb-c.h"
 
diff --git a/include/image.h b/include/image.h
index c9669c0..f33d6a3 100644
--- a/include/image.h
+++ b/include/image.h
@@ -5,6 +5,7 @@
 
 #include "compiler.h"
 #include "image-desc.h"
+#include "servicefd.h"
 #include "magic.h"
 
 #define PAGE_IMAGE_SIZE	4096
-- 
1.8.3.1



More information about the CRIU mailing list