forked from Imagelibrary/rtems
Removed warning under linux port.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user