From: David Schleef Date: Thu, 13 Jul 2000 00:42:44 +0000 (+0000) Subject: kernel compile fixes X-Git-Tag: r0_7_46~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=01cf96834a8b1c16be353e2e5437ef773a40fc9b;p=comedi.git kernel compile fixes --- 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;