From 948f55ec1a39f484dd9f222be7876439abfbd30e Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Wed, 8 Jun 2005 21:57:45 +0000 Subject: fix include for userland (tsk, tsk, krw). okay pval, nits miod. --- sys/scsi/cd.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/scsi/cd.h b/sys/scsi/cd.h index 301924875f1..27854877710 100644 --- a/sys/scsi/cd.h +++ b/sys/scsi/cd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.h,v 1.5 2005/06/03 17:29:55 krw Exp $ */ +/* $OpenBSD: cd.h,v 1.6 2005/06/08 21:57:44 espie Exp $ */ /* $NetBSD: scsi_cd.h,v 1.6 1996/03/19 03:06:39 mycroft Exp $ */ /* @@ -211,6 +211,8 @@ struct cd_audio_page { #define CDRETRIES 4 +#ifdef _KERNEL + struct cd_softc { struct device sc_dev; struct disk sc_dk; @@ -241,4 +243,5 @@ struct cd_softc { #endif }; +#endif /* _KERNEL */ #endif -- cgit v1.2.3