mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 07:26:17 +02:00
0fac63b557
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22137 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
343 B
Diff
16 lines
343 B
Diff
--- 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>
|