]> git.pld-linux.org Git - packages/VirtualBox.git/blobdiff - kernel-5.11.patch
fix build with kernel 5.11; rel 4
[packages/VirtualBox.git] / kernel-5.11.patch
diff --git a/kernel-5.11.patch b/kernel-5.11.patch
new file mode 100644 (file)
index 0000000..06a22df
--- /dev/null
@@ -0,0 +1,12 @@
+--- VirtualBox-6.1.18/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c.orig    2021-01-07 16:41:28.000000000 +0100
++++ VirtualBox-6.1.18/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c 2021-02-23 19:24:57.308526670 +0100
+@@ -39,6 +39,9 @@
+ #endif
+ #include <linux/netdevice.h>
+ #include <linux/etherdevice.h>
++#if RTLNX_VER_MIN(5,11,0)
++#include <linux/ethtool.h>
++#endif
+ #include <linux/rtnetlink.h>
+ #include <linux/miscdevice.h>
+ #include <linux/inetdevice.h>
This page took 0.025712 seconds and 4 git commands to generate.