diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-11-14 00:16:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-11-14 00:16:47 +0000 |
commit | 9ccccfa2bd41ef4f6eacb6c68396897dfa37c599 (patch) | |
tree | e2759c3e5a931aef611fac93d8093d0333ab7913 /sys | |
parent | 143dc73869d73affce713367e15183ec01637e26 (diff) |
include sys/device.h, on some architectures this gets pulled in, but others
(like sparc64) require it explicitly
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/hid/hidcc.c | 3 | ||||
-rw-r--r-- | sys/dev/usb/ucc.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/hid/hidcc.c b/sys/dev/hid/hidcc.c index ee5e3208067..10f4c4ef761 100644 --- a/sys/dev/hid/hidcc.c +++ b/sys/dev/hid/hidcc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hidcc.c,v 1.4 2022/11/11 17:23:09 matthieu Exp $ */ +/* $OpenBSD: hidcc.c,v 1.5 2022/11/14 00:16:44 deraadt Exp $ */ /* * Copyright (c) 2022 Anton Lindqvist <anton@openbsd.org> @@ -19,6 +19,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> +#include <sys/device.h> #include <dev/hid/hidccvar.h> #include <dev/hid/hid.h> 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> |