Description: Fix kernel 5.8 forbidding use of vermagic.h header file
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Origin: https://www.virtualbox.org/ticket/19644
Bug-Ubuntu: https://launchpad.net/bugs/1884652
Last-Update: 2020-08-10
|
old
|
new
|
|
| 53 | 53 | #include <linux/seq_file.h> |
| 54 | 54 | #include <linux/vfs.h> |
| 55 | 55 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 62) |
| 56 | | # include <linux/vermagic.h> |
| | 56 | # if LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0) |
| | 57 | # include <linux/vermagic.h> |
| | 58 | # endif |
| 57 | 59 | #endif |
| 58 | 60 | #include <VBox/err.h> |
| 59 | 61 | #include <iprt/path.h> |