The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ac134e762e6908dcadd0c7cb7bcb3de0ed967f59

commit ac134e762e6908dcadd0c7cb7bcb3de0ed967f59
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2021-07-28 13:28:48 +0000
Commit:     Bjoern A. Zeeb <b...@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 *);
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to