summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-10 19:38:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-10 19:38:30 +0000
commit1dc3500b21bacbb0fb10f73c7edc942bfbacc9b7 (patch)
tree3eb6dadba58303a16f05ec252dbe7e0da6aa8f79 /c
parentmade some of this conditional on unix lib (diff)
downloadrtems-1dc3500b21bacbb0fb10f73c7edc942bfbacc9b7.tar.bz2
added include of rtems.h so the proper macro definitions would be present.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/libcsupport/src/unixlibc.c2
-rw-r--r--c/src/lib/libc/unixlibc.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/unixlibc.c b/c/src/exec/libcsupport/src/unixlibc.c
index 2f1e725b6a..3e757e313d 100644
--- a/c/src/exec/libcsupport/src/unixlibc.c
+++ b/c/src/exec/libcsupport/src/unixlibc.c
@@ -2,6 +2,8 @@
* $Id$
*/
+#include <rtems.h>
+
#if defined(RTEMS_UNIXLIB)
void libc_init(int reentrant)
diff --git a/c/src/lib/libc/unixlibc.c b/c/src/lib/libc/unixlibc.c
index 2f1e725b6a..3e757e313d 100644
--- a/c/src/lib/libc/unixlibc.c
+++ b/c/src/lib/libc/unixlibc.c
@@ -2,6 +2,8 @@
* $Id$
*/
+#include <rtems.h>
+
#if defined(RTEMS_UNIXLIB)
void libc_init(int reentrant)