Date: Wed, 28 Jul 2021 13:34:16 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ac134e762e69 - main - LinuxKPI: dmi.h do not rely on implicit includes Message-ID: <202107281334.16SDYG7V040107@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=ac134e762e6908dcadd0c7cb7bcb3de0ed967f59 commit ac134e762e6908dcadd0c7cb7bcb3de0ed967f59 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2021-07-28 13:28:48 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2021-07-28 13:28:48 +0000 LinuxKPI: dmi.h do not rely on implicit includes Add sys/types.h to dmi.h and do not rely on other files to include all needed headers in Linux land. I ran into compile problems with rtw88 otherwise. MFC after: 3 days --- sys/compat/linuxkpi/common/include/linux/dmi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/dmi.h b/sys/compat/linuxkpi/common/include/linux/dmi.h index b921cc906917..6e450e156b73 100644 --- a/sys/compat/linuxkpi/common/include/linux/dmi.h +++ b/sys/compat/linuxkpi/common/include/linux/dmi.h @@ -31,6 +31,7 @@ #ifndef __LINUX_DMI_H__ #define __LINUX_DMI_H__ +#include <sys/types.h> #include <linux/mod_devicetable.h> int linux_dmi_check_system(const struct dmi_system_id *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107281334.16SDYG7V040107>