diff options
-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" |