summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-05-18 04:41:15 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-05-18 04:41:15 +0000
commit2a8c476cc299b5156f773ee5184486606637e917 (patch)
tree30e6afac5430b625bb13529ef5157accc51637d9 /sys/scsi/sd.c
parent5f7844d39f199b58e0025efc5d45e6ab79446132 (diff)
dont let sys/ioctl.h imply that you get the ioctls in dkio.h. this
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include <sys/dkio.h> to the places that actually want and use the disk ioctls. this became an issue when krw@'s X build failed when he was testing a change to dkio.h. tested by krw@ help from and ok miod@
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index eae018767c4..f6501f207ec 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.186 2010/04/30 02:17:06 dlg Exp $ */
+/* $OpenBSD: sd.c,v 1.187 2010/05/18 04:41:14 dlg Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -65,6 +65,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/scsiio.h>
+#include <sys/dkio.h>
#include <scsi/scsi_all.h>
#include <scsi/scsi_disk.h>