summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-06-08 21:57:45 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-06-08 21:57:45 +0000
commit948f55ec1a39f484dd9f222be7876439abfbd30e (patch)
tree52118d0e906db33d52fdebcf580306cff09754e1
parentff2cafc85ab28f1d17299382903d6798c7215448 (diff)
fix include for userland (tsk, tsk, krw).
okay pval, nits miod.
-rw-r--r--sys/scsi/cd.h5
1 files changed, 4 insertions, 1 deletions
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