From 6238a211edd7502f84054d3eac4d34360818892d Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Thu, 5 Feb 2026 10:24:14 -0700 Subject: [PATCH] libdl: fix errors after reformatting Some of the include reordering caused compile errors. --- cpukit/include/rtems/rtl/rtl-sym.h | 1 + cpukit/libdl/rtl-elf.h | 2 ++ cpukit/libdl/rtl-shell.c | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/include/rtems/rtl/rtl-sym.h b/cpukit/include/rtems/rtl/rtl-sym.h index cb630baa71..bb23dcab04 100644 --- a/cpukit/include/rtems/rtl/rtl-sym.h +++ b/cpukit/include/rtems/rtl/rtl-sym.h @@ -37,6 +37,7 @@ #include "rtl-obj-fwd.h" #include +#include #ifdef __cplusplus extern "C" { diff --git a/cpukit/libdl/rtl-elf.h b/cpukit/libdl/rtl-elf.h index 9e71ec5cd4..eef69e80ca 100644 --- a/cpukit/libdl/rtl-elf.h +++ b/cpukit/libdl/rtl-elf.h @@ -36,6 +36,8 @@ #if !defined(_RTEMS_RTL_ELF_H_) #define _RTEMS_RTL_ELF_H_ +#include + #include #include #include diff --git a/cpukit/libdl/rtl-shell.c b/cpukit/libdl/rtl-shell.c index 85a3cf099b..cf16697c9e 100644 --- a/cpukit/libdl/rtl-shell.c +++ b/cpukit/libdl/rtl-shell.c @@ -41,10 +41,10 @@ #include #include +#include #include #include -#include #include