Files
lm-sensors/etc/config.c
T
Jean Delvare 2ae24a97ed Makefile: Revert changeset 4738, fix bug #2187 differently. The original
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
2007-11-12 13:43:50 +00:00

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;