From 52147817c31b7f1199d42b0c023f84d1174aded8 Mon Sep 17 00:00:00 2001 From: proski Date: Sat, 9 Jan 2010 08:27:17 +0000 Subject: [PATCH] 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 --- kernelversion.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kernelversion.c b/kernelversion.c index 6c873b3..9a6845d 100644 --- a/kernelversion.c +++ b/kernelversion.c @@ -8,9 +8,14 @@ */ #include -/* Linux 2.6.18+ uses */ #ifndef UTS_RELEASE +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) +/* Linux 2.6.33+ uses */ +#include +#else +/* Linux 2.6.18 - 2.6.32 uses */ #include #endif +#endif char *uts_release = UTS_RELEASE; -- 2.35.1