From 22e531d7f0f6b9f5834438e15b11a748aa194a8a Mon Sep 17 00:00:00 2001 From: Alex White Date: Wed, 9 Mar 2022 12:47:43 -0600 Subject: [PATCH] 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. --- freebsd/sys/dev/xilinx/axidma.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/freebsd/sys/dev/xilinx/axidma.c b/freebsd/sys/dev/xilinx/axidma.c index 20cd7f23..77025c0a 100644 --- a/freebsd/sys/dev/xilinx/axidma.c +++ b/freebsd/sys/dev/xilinx/axidma.c @@ -52,11 +52,17 @@ __FBSDID("$FreeBSD$"); #include #include +#ifndef __rtems__ #ifdef FDT #include #include #include #endif +#else +#include +#include +#include +#endif /* __rtems__ */ #include #include