[CRIU] [PATCH 6/7] crtools: don't include util.h in crtools.h
Andrey Vagin
avagin at openvz.org
Wed Nov 6 02:34:32 PST 2013
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
cr-exec.c | 2 ++
cr-service.c | 1 +
include/crtools.h | 1 -
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/cr-exec.c b/cr-exec.c
index c333816..5ada6f6 100644
--- a/cr-exec.c
+++ b/cr-exec.c
@@ -1,9 +1,11 @@
#include <unistd.h>
#include <string.h>
+#include <stdlib.h>
#include "crtools.h"
#include "ptrace.h"
#include "parasite-syscall.h"
#include "vma.h"
+#include "log.h"
struct syscall_exec_desc {
char *name;
diff --git a/cr-service.c b/cr-service.c
index 510553f..b5ce8cc 100644
--- a/cr-service.c
+++ b/cr-service.c
@@ -15,6 +15,7 @@
#include "crtools.h"
#include "util-pie.h"
+#include "util.h"
#include "log.h"
#include "pstree.h"
#include "cr-service.h"
diff --git a/include/crtools.h b/include/crtools.h
index fa42c14..433809f 100644
--- a/include/crtools.h
+++ b/include/crtools.h
@@ -6,7 +6,6 @@
#include "list.h"
#include "asm/types.h"
#include "list.h"
-#include "util.h"
#include "cr-show.h"
#include "servicefd.h"
--
1.8.3.1
More information about the CRIU
mailing list