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
@ -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…
x
Reference in New Issue
Block a user