From: Frank Mori Hess Date: Thu, 7 Jun 2001 23:36:37 +0000 (+0000) Subject: attempting to fix 2.0 kernels that don't seem to define KERNEL_VERSION(a,b,c) X-Git-Tag: r0_7_60~184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7accebad78e6a37cdb6ca2eb6a34fd6d56f60950;p=comedi.git attempting to fix 2.0 kernels that don't seem to define KERNEL_VERSION(a,b,c) --- diff --git a/include/linux/version.h b/include/linux/version.h index f0c082fc..03c34946 100644 --- a/include/linux/version.h +++ b/include/linux/version.h @@ -2,3 +2,7 @@ #include #include_next +#ifndef KERNEL_VERSION +#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) +#endif +