gcc: remove arch default duplication, fix version selection for !TOOLCHAINOPTS
[openwrt.git] / package / acx / patches / 007-2.6.33_fixes.patch
1 --- a/pci.c
2 +++ b/pci.c
3 @@ -35,8 +35,12 @@
4
5 /* Linux 2.6.18+ uses <linux/utsrelease.h> */
6 #ifndef UTS_RELEASE
7 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
8 +#include <generated/utsrelease.h>
9 +#else
10 #include <linux/utsrelease.h>
11 #endif
12 +#endif
13
14 #include <linux/compiler.h> /* required for Lx 2.6.8 ?? */
15 #include <linux/kernel.h>
This page took 0.06275 seconds and 5 git commands to generate.