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

Andrey Vagin avagin at openvz.org
Wed Nov 6 04:36:40 PST 2013


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>
 
-- 
1.8.3.1



More information about the CRIU mailing list