Fixes the following error:
net/core/dev.c: In function ‘dev_change_name’:
net/core/dev.c:1101:29: error: dereferencing pointer to incomplete type ‘struct 
ve_struct’
  if (!dev_net(dev)->owner_ve->ve_netns ||
                             ^

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

diff --git a/net/core/dev.c b/net/core/dev.c
index a8dd551..24f7c7f 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -134,6 +134,7 @@
 
 #include "net-sysfs.h"
 
+#include <linux/ve.h>
 #include <bc/beancounter.h>
 
 /* Instead of increasing this, you should create a hash table. */
-- 
2.7.0

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

Reply via email to