mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 00:39:18 +08:00
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:
parent
40b9c6ce63
commit
22e531d7f0
@ -52,11 +52,17 @@ __FBSDID("$FreeBSD$");
|
||||
#include <vm/vm_extern.h>
|
||||
#include <vm/vm_page.h>
|
||||
|
||||
#ifndef __rtems__
|
||||
#ifdef FDT
|
||||
#include <dev/fdt/fdt_common.h>
|
||||
#include <dev/ofw/ofw_bus.h>
|
||||
#include <dev/ofw/ofw_bus_subr.h>
|
||||
#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/xilinx/axidma.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user