aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/chio.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/sys/chio.h b/sys/sys/chio.h
index 4affe23cb26d..abf9ae731321 100644
--- a/sys/sys/chio.h
+++ b/sys/sys/chio.h
@@ -29,11 +29,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: chio.h,v 1.9 1997/02/22 09:44:56 peter Exp $
+ * $Id: chio.h,v 1.10 1997/03/06 15:36:45 joerg Exp $
*/
-#ifndef _SYS_CHIO_H_
-#define _SYS_CHIO_H_
+#ifndef _SYS_CHIO_H_
+#define _SYS_CHIO_H_
+
+#ifndef KERNEL
+#include <sys/types.h>
+#endif
+#include <sys/ioccom.h>
/*
* Element types. Used as "to" and "from" type indicators in move
@@ -148,4 +153,4 @@ struct changer_element_status {
#define CHIOGPARAMS _IOR('c', 0x06, struct changer_params)
#define CHIOGSTATUS _IOW('c', 0x08, struct changer_element_status)
-#endif /* _SYS_CHIO_H_ */
+#endif /* !_SYS_CHIO_H_ */