summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2010-05-18 04:41:14 +0000
committerdlg <dlg@openbsd.org>2010-05-18 04:41:14 +0000
commit91f4f7d8fe350c0cf99cd27cd3c10661e46d9729 (patch)
treecaa3ef851b8aec68df5bb2f0123671362ee8e504 /sys/miscfs
parentPut the name string on the stack. (diff)
downloadwireguard-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/miscfs')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index 6ad6852f29f..c1816c58186 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spec_vnops.c,v 1.56 2009/08/13 15:00:14 jasper Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.57 2010/05/18 04:41:14 dlg Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
@@ -48,6 +48,7 @@
#include <sys/disklabel.h>
#include <sys/lockf.h>
#include <sys/poll.h>
+#include <sys/dkio.h>
#include <miscfs/specfs/specdev.h>