[CRIU] [PATCH 3/4] compel/include/uapi/infect.h: no circular inclusion

Kir Kolyshkin kir at openvz.org
Wed Feb 8 06:36:12 PST 2017


infect.h includes compel.h, and compel.h includes infect.h.
Surely, due to include guards it will be sorted out, but
we'd rather just include what we need.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 compel/include/uapi/infect.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compel/include/uapi/infect.h b/compel/include/uapi/infect.h
index 9f08f34..5c47555 100644
--- a/compel/include/uapi/infect.h
+++ b/compel/include/uapi/infect.h
@@ -6,7 +6,7 @@
 #include <compel/asm/sigframe.h>
 #include <compel/asm/infect-types.h>
 #include <compel/ksigset.h>
-#include <compel/compel.h>
+#include <compel/handle-elf.h>
 
 #include "common/compiler.h"
 
-- 
2.9.3



More information about the CRIU mailing list