[CRIU] [PATCH] crtools: include sys/time.h in parasite.h

Pavel Emelyanov xemul at parallels.com
Wed Nov 6 04:41:57 PST 2013


On 11/06/2013 04:36 PM, Andrey Vagin wrote:
> This patch fixes an error:
> In file included from mem.c:10:0:
> include/parasite.h:116:19: error: field ‘real’ has incomplete type
> include/parasite.h:117:19: error: field ‘virt’ has incomplete type
> include/parasite.h:118:19: error: field ‘prof’ has incomplete type
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  include/parasite.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/parasite.h b/include/parasite.h
> index 4e26967..d53242e 100644
> --- a/include/parasite.h
> +++ b/include/parasite.h
> @@ -9,6 +9,7 @@
>  #ifndef __ASSEMBLY__
>  
>  #include <sys/un.h>
> +#include <sys/time.h>
>  #include <time.h>
>  #include <signal.h>
>  
> 


applied


More information about the CRIU mailing list