diff options
author | 2007-06-14 06:55:09 +0000 | |
---|---|---|
committer | 2007-06-14 06:55:09 +0000 | |
commit | 47e3ddedd2042a6f41ec46ff64ca3c91bc25b374 (patch) | |
tree | 3f1bdc7618be52cfe92fa0611dde01ce0bcb291f /sys/dev/usb/umass.c | |
parent | Fix label name in writedisklabel(). (diff) | |
download | wireguard-openbsd-47e3ddedd2042a6f41ec46ff64ca3c91bc25b374.tar.xz wireguard-openbsd-47e3ddedd2042a6f41ec46ff64ca3c91bc25b374.zip |
Move the inclusion of sys/timeout.h from usb_port.h to the drivers that
need it.
If a USB driver uses timeout(9) functions, the header file sys/timeout.h
must be included.
Tested by me (i386, macppc, sparc64), ckuethe (amd64), & todd (sparc, zaurus).
ok dlg.
Diffstat (limited to 'sys/dev/usb/umass.c')
-rw-r--r-- | sys/dev/usb/umass.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index da2c83f13e0..c0ba552e5c6 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umass.c,v 1.50 2007/06/13 10:33:52 mbalmer Exp $ */ +/* $OpenBSD: umass.c,v 1.51 2007/06/14 06:55:10 mbalmer Exp $ */ /* $NetBSD: umass.c,v 1.116 2004/06/30 05:53:46 mycroft Exp $ */ /* @@ -140,6 +140,7 @@ #include <sys/buf.h> #include <sys/device.h> #include <sys/malloc.h> +#include <sys/timeout.h> #undef KASSERT #define KASSERT(cond, msg) #include <machine/bus.h> |