diff options
| author | 2010-05-18 04:41:14 +0000 | |
|---|---|---|
| committer | 2010-05-18 04:41:14 +0000 | |
| commit | 91f4f7d8fe350c0cf99cd27cd3c10661e46d9729 (patch) | |
| tree | caa3ef851b8aec68df5bb2f0123671362ee8e504 /sys/compat/linux/linux_blkio.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/compat/linux/linux_blkio.c')
| -rw-r--r-- | sys/compat/linux/linux_blkio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_blkio.c b/sys/compat/linux/linux_blkio.c index a38cca637c2..09f47187289 100644 --- a/sys/compat/linux/linux_blkio.c +++ b/sys/compat/linux/linux_blkio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_blkio.c,v 1.7 2007/06/06 17:15:13 deraadt Exp $ */ +/* $OpenBSD: linux_blkio.c,v 1.8 2010/05/18 04:41:14 dlg Exp $ */ /* $NetBSD: linux_blkio.c,v 1.3 2001/01/18 17:48:04 tv Exp $ */ /* @@ -44,6 +44,7 @@ #include <sys/mount.h> #include <sys/proc.h> #include <sys/disklabel.h> +#include <sys/dkio.h> #include <sys/syscallargs.h> |
