diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-05-18 04:41:15 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-05-18 04:41:15 +0000 |
commit | 2a8c476cc299b5156f773ee5184486606637e917 (patch) | |
tree | 30e6afac5430b625bb13529ef5157accc51637d9 /sbin/newfs_ext2fs/newfs_ext2fs.c | |
parent | 5f7844d39f199b58e0025efc5d45e6ab79446132 (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 'sbin/newfs_ext2fs/newfs_ext2fs.c')
-rw-r--r-- | sbin/newfs_ext2fs/newfs_ext2fs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/newfs_ext2fs/newfs_ext2fs.c b/sbin/newfs_ext2fs/newfs_ext2fs.c index af3e1e179e1..0e06318f380 100644 --- a/sbin/newfs_ext2fs/newfs_ext2fs.c +++ b/sbin/newfs_ext2fs/newfs_ext2fs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs_ext2fs.c,v 1.5 2010/02/18 07:58:14 otto Exp $ */ +/* $OpenBSD: newfs_ext2fs.c,v 1.6 2010/05/18 04:41:14 dlg Exp $ */ /* $NetBSD: newfs_ext2fs.c,v 1.8 2009/03/02 10:38:13 tsutsui Exp $ */ /* @@ -37,6 +37,7 @@ */ #include <sys/param.h> #include <sys/ioctl.h> +#include <sys/dkio.h> #include <sys/disklabel.h> #include <sys/disk.h> #include <sys/file.h> |