Fix kernel version detection (#2187).

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4738 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-09-01 08:09:49 +00:00
1 parent e4ecbc9a90
commit f96dc0266f
3 files changed
+11 -5

No files matched your search

+3
View File
@@ -3,6 +3,9 @@
* get the kernel version from <linux/version.h>.
* A simple grep doesn't work for Mandrake and Red Hat distributions
* that contain multiple UTS_RELEASE definitions in version.h.
*
* Note: since kernel 2.6.17, the definition of UTS_RELEASE has
* moved to <linux/utsrelease.h> so this no longer works.
*/
#include <linux/version.h>
char *uts_release=UTS_RELEASE;