mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-25 12:14:33 +00:00
fix was breaking the build for non-current kernels, or at least making it more difficult than before. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5018 7894878c-1315-0410-8ee3-d5d059ff63e0
15 lines
464 B
C
15 lines
464 B
C
/*
|
|
* This is used by the top-level makefile to automagically
|
|
* 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>.
|
|
*/
|
|
#include <linux/version.h>
|
|
#ifndef UTS_RELEASE
|
|
#include <linux/utsrelease.h>
|
|
#endif
|
|
char *uts_release=UTS_RELEASE;
|