mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Use generated/utsrelease.h for Linux 2.6.33+
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4101 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
0d741ab467
commit
52147817c3
@ -8,9 +8,14 @@
|
|||||||
*/
|
*/
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
||||||
/* Linux 2.6.18+ uses <linux/utsrelease.h> */
|
|
||||||
#ifndef UTS_RELEASE
|
#ifndef UTS_RELEASE
|
||||||
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)
|
||||||
|
/* Linux 2.6.33+ uses <generated/utsrelease.h> */
|
||||||
|
#include <generated/utsrelease.h>
|
||||||
|
#else
|
||||||
|
/* Linux 2.6.18 - 2.6.32 uses <linux/utsrelease.h> */
|
||||||
#include <linux/utsrelease.h>
|
#include <linux/utsrelease.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
char *uts_release = UTS_RELEASE;
|
char *uts_release = UTS_RELEASE;
|
||||||
|
Loading…
Reference in New Issue
Block a user