From 15bcf12ffaf34d3022ec6d4a68eeaf874beeb541 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 18 May 2022 09:38:12 +0200 Subject: libc: Include for RTEMS This fixes an issue with a recent Newlib which no longer includes in . --- freebsd/lib/libc/include/libc_private.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'freebsd') diff --git a/freebsd/lib/libc/include/libc_private.h b/freebsd/lib/libc/include/libc_private.h index fb3a4bb2..4a699e93 100644 --- a/freebsd/lib/libc/include/libc_private.h +++ b/freebsd/lib/libc/include/libc_private.h @@ -36,8 +36,12 @@ #ifndef _LIBC_PRIVATE_H_ #define _LIBC_PRIVATE_H_ +#ifndef __rtems__ #include #include +#else /* __rtems__ */ +#include +#endif /* __rtems__ */ /* * This global flag is non-zero when a process has created one -- cgit v1.2.3