summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-11-14 00:16:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-11-14 00:16:47 +0000
commit9ccccfa2bd41ef4f6eacb6c68396897dfa37c599 (patch)
treee2759c3e5a931aef611fac93d8093d0333ab7913 /sys/dev/usb
parent143dc73869d73affce713367e15183ec01637e26 (diff)
include sys/device.h, on some architectures this gets pulled in, but others
(like sparc64) require it explicitly
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ucc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/ucc.c b/sys/dev/usb/ucc.c
index acc14ce86cf..493acc911f9 100644
--- a/sys/dev/usb/ucc.c
+++ b/sys/dev/usb/ucc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ucc.c,v 1.36 2022/11/11 06:48:38 anton Exp $ */
+/* $OpenBSD: ucc.c,v 1.37 2022/11/14 00:16:46 deraadt Exp $ */
/*
* Copyright (c) 2021 Anton Lindqvist <anton@openbsd.org>
@@ -18,6 +18,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/device.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbhid.h>