diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-02 07:05:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-02 07:05:32 +0000 |
commit | eb09d64daa6f428821124003db069d56fb9fd45c (patch) | |
tree | 44fabdb59fe02a9fc0e096a5347c71c945ab81eb /cpukit/libcsupport | |
parent | 2010-04-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-eb09d64daa6f428821124003db069d56fb9fd45c.tar.bz2 |
#include <unistd.h>.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/isatty_r.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/malloc_sbrk_helpers.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/isatty_r.c b/cpukit/libcsupport/src/isatty_r.c index d720d7a927..3e2e2baa14 100644 --- a/cpukit/libcsupport/src/isatty_r.c +++ b/cpukit/libcsupport/src/isatty_r.c @@ -21,6 +21,7 @@ #if defined(RTEMS_NEWLIB) && !defined(HAVE__ISATTY_R) +#include <unistd.h> #include <reent.h> #include <sys/stat.h> diff --git a/cpukit/libcsupport/src/malloc_sbrk_helpers.c b/cpukit/libcsupport/src/malloc_sbrk_helpers.c index f630b2b137..e917fd36af 100644 --- a/cpukit/libcsupport/src/malloc_sbrk_helpers.c +++ b/cpukit/libcsupport/src/malloc_sbrk_helpers.c @@ -15,6 +15,8 @@ #include "config.h" #endif +#include <unistd.h> /* sbrk */ + #include <rtems.h> #include <rtems/malloc.h> #include "malloc_p.h" |