diff options
author | 2011-09-18 23:24:12 +0000 | |
---|---|---|
committer | 2011-09-18 23:24:12 +0000 | |
commit | 048a3a619da99ed21c9115403d845d4d92101c38 (patch) | |
tree | fa04eed93579e068aa344095e9fc3d3863ae5995 /sys/dev/usb/usb.c | |
parent | %, is not a valid format specifier (diff) | |
download | wireguard-openbsd-048a3a619da99ed21c9115403d845d4d92101c38.tar.xz wireguard-openbsd-048a3a619da99ed21c9115403d845d4d92101c38.zip |
usbdivar.h needs struct timeout. But don't get it indirectly via
sys/kthread.h, use sys/timeout.h explicitly. Noted by Michael
Knudsen.
ok deraadt@ kettenis@ guenther@
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index ce40062aad5..490a331d2f2 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.c,v 1.77 2011/07/03 15:47:17 matthew Exp $ */ +/* $OpenBSD: usb.c,v 1.78 2011/09/18 23:24:12 krw Exp $ */ /* $NetBSD: usb.c,v 1.77 2003/01/01 00:10:26 thorpej Exp $ */ /* @@ -46,6 +46,7 @@ #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/device.h> +#include <sys/timeout.h> #include <sys/kthread.h> #include <sys/proc.h> #include <sys/conf.h> |