diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-11-18 22:32:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-11-18 22:32:55 +0000 |
commit | c7ca28cf379b4e46c277a59e23154cc36a9c5770 (patch) | |
tree | b49ed9bc8ac9e4cb95d99867e5160c3389d02473 /c/src/lib/libc | |
parent | Removed warnings. (diff) | |
download | rtems-c7ca28cf379b4e46c277a59e23154cc36a9c5770.tar.bz2 |
Removed warning under linux port.
Diffstat (limited to 'c/src/lib/libc')
-rw-r--r-- | c/src/lib/libc/malloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libc/malloc.c b/c/src/lib/libc/malloc.c index e8387d4364..35acf86a2f 100644 --- a/c/src/lib/libc/malloc.c +++ b/c/src/lib/libc/malloc.c @@ -26,6 +26,11 @@ #include <assert.h> #include <errno.h> #include <string.h> + +/* for sbrk prototype in linux */ +#if defined(linux) +#define __USE_MISC +#endif #include <unistd.h> /* sbrk(2) */ rtems_id RTEMS_Malloc_Heap; |