From bf1524d1951ba0803ed2ae361ad928481a5b5323 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 13 Aug 2001 10:26:57 +0000 Subject: [PATCH] Add error to check if included directly --- include/linux/comedi_rt.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/linux/comedi_rt.h b/include/linux/comedi_rt.h index 5d4a030c..bcea825c 100644 --- a/include/linux/comedi_rt.h +++ b/include/linux/comedi_rt.h @@ -24,6 +24,10 @@ #ifndef _COMEDI_RT_H #define _COMEDI_RT_H +#ifndef _COMEDIDEV_H +#error comedi_rt.h should only be included by comedidev.h +#endif + #include #include #include @@ -31,7 +35,6 @@ #include #include #include -#include #ifdef CONFIG_COMEDI_RT -- 2.26.2