From: deraadt Date: Mon, 14 Nov 2022 00:16:44 +0000 (+0000) Subject: include sys/device.h, on some architectures this gets pulled in, but others X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=53a69a909e7144bba9b0c7135a0bdf01e45b708f;p=openbsd include sys/device.h, on some architectures this gets pulled in, but others (like sparc64) require it explicitly --- 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