blob: 338b1c66fffadaa11da6d0bc6ab4b6161b85d2f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/pci.c
+++ b/pci.c
@@ -35,8 +35,12 @@
/* Linux 2.6.18+ uses <linux/utsrelease.h> */
#ifndef UTS_RELEASE
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
+#include <generated/utsrelease.h>
+#else
#include <linux/utsrelease.h>
#endif
+#endif
#include <linux/compiler.h> /* required for Lx 2.6.8 ?? */
#include <linux/kernel.h>
|