mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -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.
(cherry picked from commit ac134e762e)
This commit is contained in:
parent
79bc96d1fb
commit
e41baaefc4
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