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

Pavel Emelyanov xemul at parallels.com
Wed Nov 6 03:33:50 PST 2013


On 11/06/2013 03:32 PM, Andrey Vagin wrote:
> 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;
> 
applied


More information about the CRIU mailing list