The one .c file that needs it can properly include it. Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
@@ -24,8 +24,6 @@
#ifndef _LINUX_COMEDILIB_H
#define _LINUX_COMEDILIB_H
-#include "comedi.h"
-
/* these functions may not be called at real-time priority */
void *comedi_open(const char *path);
@@ -87,6 +87,7 @@ Configuration Options:
* options that are used with comedi_config.
*/
+#include "../comedi.h"
#include "../comedilib.h"
#include "../comedidev.h"
#include <linux/string.h>