diff options
author | 2010-05-18 04:41:14 +0000 | |
---|---|---|
committer | 2010-05-18 04:41:14 +0000 | |
commit | 91f4f7d8fe350c0cf99cd27cd3c10661e46d9729 (patch) | |
tree | caa3ef851b8aec68df5bb2f0123671362ee8e504 /sys/dev/softraid.c | |
parent | Put the name string on the stack. (diff) | |
download | wireguard-openbsd-91f4f7d8fe350c0cf99cd27cd3c10661e46d9729.tar.xz wireguard-openbsd-91f4f7d8fe350c0cf99cd27cd3c10661e46d9729.zip |
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/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 0249c3ae580..c56e4b03924 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.201 2010/03/28 16:38:57 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.202 2010/05/18 04:41:14 dlg Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -40,6 +40,7 @@ #include <sys/uio.h> #include <sys/workq.h> #include <sys/kthread.h> +#include <sys/dkio.h> #ifdef AOE #include <sys/mbuf.h> |