extres: syscon: pull in sys/malloc.h (fix !FDT)
syscon currently includes sys/malloc.h via header pollution from dev/ofw/ofw_bus.h -> dev/ofw/openfirm.h. Fix the build without FDT defined by including sys/malloc.h directly. Reviewed by: andrew, imp, manu Differential Revision: https://reviews.freebsd.org/D36787
This commit is contained in:
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/kobj.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/module.h>
|
||||
#include <sys/rman.h>
|
||||
#include <sys/sx.h>
|
||||
|
||||
Reference in New Issue
Block a user