Fixes following the following error:
In file included from net/core/sock.c:141:0:
include/net/tcp.h: In function ‘tcp_time_stamp’:
include/net/tcp.h:732:30: error: dereferencing pointer to incomplete type 
‘struct ve_struct’
  return (__u32)(jiffies) + ve->jiffies_fixup;

Signed-off-by: Dmitry Safonov <[email protected]>
---
 include/net/tcp.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net/tcp.h b/include/net/tcp.h
index 05a5252..031a895 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -30,6 +30,7 @@
 #include <linux/crypto.h>
 #include <linux/cryptohash.h>
 #include <linux/kref.h>
+#include <linux/ve.h>
 
 #include <net/inet_connection_sock.h>
 #include <net/inet_timewait_sock.h>
-- 
2.7.0

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to