if_xae: Fix non-FDT BSP build error

This fixes a compiler error that would occur for every BSP that does not
define `BSP_FDT_IS_SUPPORTED`. The fdt headers should always be included
to provide the needed definitions.
This commit is contained in:
Alex White 2022-03-09 12:47:43 -06:00 committed by Sebastian Huber
parent 40b9c6ce63
commit 22e531d7f0

View File

@ -52,11 +52,17 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_extern.h> #include <vm/vm_extern.h>
#include <vm/vm_page.h> #include <vm/vm_page.h>
#ifndef __rtems__
#ifdef FDT #ifdef FDT
#include <dev/fdt/fdt_common.h> #include <dev/fdt/fdt_common.h>
#include <dev/ofw/ofw_bus.h> #include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h> #include <dev/ofw/ofw_bus_subr.h>
#endif #endif
#else
#include <dev/fdt/fdt_common.h>
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>
#endif /* __rtems__ */
#include <dev/xdma/xdma.h> #include <dev/xdma/xdma.h>
#include <dev/xilinx/axidma.h> #include <dev/xilinx/axidma.h>