[CRIU] [PATCH] crtools: include list.h in vma.h

Andrey Vagin avagin at openvz.org
Wed Nov 6 03:32:16 PST 2013


This patch fixes compilation error on arm:
In file included from arch/arm/vdso-pie.c:4:0:
include/vma.h:5:19: error: field ‘h’ has incomplete type
include/vma.h:14:19: error: field ‘list’ has incomplete type

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/vma.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/vma.h b/include/vma.h
index e85fc46..7786915 100644
--- a/include/vma.h
+++ b/include/vma.h
@@ -1,6 +1,8 @@
 #ifndef __CR_VMA_H__
 #define __CR_VMA_H__
 
+#include "list.h"
+
 struct vm_area_list {
 	struct list_head	h;
 	unsigned		nr;
-- 
1.8.3.1



More information about the CRIU mailing list