aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/scsiio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/scsiio.h')
-rw-r--r--sys/sys/scsiio.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/sys/scsiio.h b/sys/sys/scsiio.h
index cc6291e7db20..87c5d635217b 100644
--- a/sys/sys/scsiio.h
+++ b/sys/sys/scsiio.h
@@ -1,12 +1,13 @@
/*
- * $Id: scsiio.h,v 1.4 1995/04/28 19:26:02 dufault Exp $
+ * $Id: scsiio.h,v 1.5 1996/01/30 23:01:14 mpp Exp $
*/
-#ifndef _SYS_SCSIIO_H_
-#define _SYS_SCSIIO_H_
-
+#ifndef _SYS_SCSIIO_H_
+#define _SYS_SCSIIO_H_
+#ifndef KERNEL
#include <sys/types.h>
-#include <sys/ioctl.h>
+#endif
+#include <sys/ioccom.h>
#define SENSEBUFLEN 48
@@ -66,4 +67,4 @@ struct scsi_addr {
#define SCIOCFREEZETHAW _IOW('Q', 11, int) /* Freeze SCSI for some seconds */
#define SCIOCWAITTHAW _IO('Q', 12) /* Wait for SCSI to thaw */
-#endif /* _SYS_SCSIIO_H_ */
+#endif /* !_SYS_SCSIIO_H_ */