Only include FDT headders when building for FDT.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
andrew 2016-11-30 09:45:18 +00:00
parent 7acb1dbb48
commit 3cae031616

View File

@ -61,8 +61,10 @@ __FBSDID("$FreeBSD$");
#include <machine/intr.h>
#include <machine/smp.h>
#ifdef FDT
#include <dev/fdt/fdt_intr.h>
#include <dev/ofw/ofw_bus_subr.h>
#endif
#include <arm/arm/gic.h>