diff options
Diffstat (limited to 'c/src/exec/libcsupport/src/newlibc.c')
-rw-r--r-- | c/src/exec/libcsupport/src/newlibc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/exec/libcsupport/src/newlibc.c b/c/src/exec/libcsupport/src/newlibc.c index 2909c0e541..bd2d7133ed 100644 --- a/c/src/exec/libcsupport/src/newlibc.c +++ b/c/src/exec/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 <rtems.h> + +#if defined(RTEMS_NEWLIB) #include <libcsupport.h> #include <stdlib.h> /* for free() */ #include <string.h> /* for memset() */ @@ -346,6 +347,8 @@ int get_errno() * */ +#include <stdio.h> + #if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K) void _exit(int status) { |