From 01cf96834a8b1c16be353e2e5437ef773a40fc9b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 13 Jul 2000 00:42:44 +0000 Subject: [PATCH] kernel compile fixes --- comedi/comedi_module.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/comedi/comedi_module.h b/comedi/comedi_module.h index 9a213cb7..c2106423 100644 --- a/comedi/comedi_module.h +++ b/comedi/comedi_module.h @@ -27,13 +27,15 @@ #include #include #include -#include #include #include #include +#ifdef COMEDI_STANDALONE +#include +#endif -#include +#include "kern_compat.h" #ifdef CONFIG_COMEDI_RT #include @@ -45,6 +47,10 @@ #define DPRINTK(format, args...) /* */ #endif +#ifndef COMEDI_VERSION_CODE +#define COMEDI_VERSION_CODE 0x10000 +#define COMEDI_VERSION "1.0.0" +#endif typedef struct comedi_device_struct comedi_device; typedef struct comedi_subdevice_struct comedi_subdevice; -- 2.26.2