summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uvideo.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2011-09-18 23:24:12 +0000
committerkrw <krw@openbsd.org>2011-09-18 23:24:12 +0000
commit048a3a619da99ed21c9115403d845d4d92101c38 (patch)
treefa04eed93579e068aa344095e9fc3d3863ae5995 /sys/dev/usb/uvideo.c
parent%, is not a valid format specifier (diff)
downloadwireguard-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/uvideo.c')
-rw-r--r--sys/dev/usb/uvideo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index ceec0096e72..0e3dd60d3c7 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.164 2011/07/03 15:47:17 matthew Exp $ */
+/* $OpenBSD: uvideo.c,v 1.165 2011/09/18 23:24:12 krw Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -34,6 +34,7 @@
#include <sys/stat.h>
#include <sys/device.h>
#include <sys/poll.h>
+#include <sys/timeout.h>
#include <sys/kthread.h>
#include <uvm/uvm.h>