From dcec5a4d60405c206b1fab8630534e917fdf9857 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 Jan 1997 00:29:25 +0000 Subject: Merged newlib's libgloss support for rtems into this directory. This should simplify the build process. --- cpukit/libcsupport/src/newlibc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpukit/libcsupport/src/newlibc.c') diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index 2909c0e541..bd2d7133ed 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -1,4 +1,3 @@ -#if defined(RTEMS_NEWLIB) /* * COPYRIGHT (c) 1994 by Division Incorporated @@ -30,6 +29,8 @@ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include + +#if defined(RTEMS_NEWLIB) #include #include /* for free() */ #include /* for memset() */ @@ -346,6 +347,8 @@ int get_errno() * */ +#include + #if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K) void _exit(int status) { -- cgit v1.2.3