git: 0bf561351ba0 - main - linuxkpi: Include linux/types.h in linux/mod_devicetable.h

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 04 Apr 2023 08:48:38 UTC
The branch main has been updated by manu:

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

commit 0bf561351ba00fc6d2e76ad71b1e9049c3fbac03
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-04-04 08:44:51 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-04-04 08:48:28 +0000

    linuxkpi: Include linux/types.h in linux/mod_devicetable.h
    
    It's done like this in linux too.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sys/compat/linuxkpi/common/include/linux/mod_devicetable.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h b/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h
index 076cdffbf2f2..56e4e5c663d3 100644
--- a/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h
+++ b/sys/compat/linuxkpi/common/include/linux/mod_devicetable.h
@@ -31,6 +31,8 @@
 #ifndef __LINUXKPI_LINUX_MOD_DEVICETABLE_H__
 #define	__LINUXKPI_LINUX_MOD_DEVICETABLE_H__
 
+#include <linux/types.h>
+
 enum dmi_field {
 	DMI_NONE,
 	DMI_BIOS_VENDOR,