From 53a69a909e7144bba9b0c7135a0bdf01e45b708f Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 14 Nov 2022 00:16:44 +0000 Subject: [PATCH] include sys/device.h, on some architectures this gets pulled in, but others (like sparc64) require it explicitly --- sys/dev/hid/hidcc.c | 3 ++- 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 @@ -19,6 +19,7 @@ #include #include #include +#include #include #include 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 @@ -18,6 +18,7 @@ #include #include +#include #include #include -- 2.20.1