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:
Bjoern A. Zeeb 2021-07-28 13:28:48 +00:00
parent 79bc96d1fb
commit e41baaefc4

View file

@ -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 *);