mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 22:02:58 -04:00
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
This commit is contained in:
parent
da8d8b22e6
commit
ac134e762e
1 changed files with 1 additions and 0 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue