diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 13:32:58 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 15:12:54 +0200 |
commit | 7660e8b34778285a7d32e0265fd7697c213179a7 (patch) | |
tree | ee439cb8ce567ca36ddff28d11ab6b9206edb7e5 /cpukit/libcsupport | |
parent | rtems: Create dpmem implementation header (diff) | |
download | rtems-7660e8b34778285a7d32e0265fd7697c213179a7.tar.bz2 |
Include missing <string.h>
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/calloc.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/malloc_dirtier.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/malloc_statistics_helpers.c | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/newlibc_reent.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/realloc.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/sup_fs_eval_path.c | 2 |
6 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/calloc.c b/cpukit/libcsupport/src/calloc.c index 279c16c7be..636fc3ce02 100644 --- a/cpukit/libcsupport/src/calloc.c +++ b/cpukit/libcsupport/src/calloc.c @@ -21,6 +21,7 @@ #if defined(RTEMS_NEWLIB) && !defined(HAVE_CALLOC) #include "malloc_p.h" #include <stdlib.h> +#include <string.h> void *calloc( size_t nelem, diff --git a/cpukit/libcsupport/src/malloc_dirtier.c b/cpukit/libcsupport/src/malloc_dirtier.c index 68ad153d49..ef55d6dbbc 100644 --- a/cpukit/libcsupport/src/malloc_dirtier.c +++ b/cpukit/libcsupport/src/malloc_dirtier.c @@ -23,6 +23,7 @@ #include "malloc_p.h" #include <errno.h> +#include <string.h> void rtems_malloc_dirty_memory( void *start, diff --git a/cpukit/libcsupport/src/malloc_statistics_helpers.c b/cpukit/libcsupport/src/malloc_statistics_helpers.c index 0e788c04f1..344439f5e3 100644 --- a/cpukit/libcsupport/src/malloc_statistics_helpers.c +++ b/cpukit/libcsupport/src/malloc_statistics_helpers.c @@ -23,7 +23,7 @@ #include <sys/reent.h> #include <stdlib.h> - +#include <string.h> static void rtems_malloc_statistics_initialize( void ) { diff --git a/cpukit/libcsupport/src/newlibc_reent.c b/cpukit/libcsupport/src/newlibc_reent.c index a1adda8c38..0e674723d4 100644 --- a/cpukit/libcsupport/src/newlibc_reent.c +++ b/cpukit/libcsupport/src/newlibc_reent.c @@ -25,6 +25,7 @@ #include <sys/reent.h> #include <stdlib.h> +#include <string.h> #include <rtems/libcsupport.h> #include <rtems/score/wkspace.h> diff --git a/cpukit/libcsupport/src/realloc.c b/cpukit/libcsupport/src/realloc.c index 5c7992d8a7..566ecbf6c7 100644 --- a/cpukit/libcsupport/src/realloc.c +++ b/cpukit/libcsupport/src/realloc.c @@ -22,6 +22,7 @@ #include "malloc_p.h" #include <stdlib.h> #include <errno.h> +#include <string.h> void *realloc( void *ptr, diff --git a/cpukit/libcsupport/src/sup_fs_eval_path.c b/cpukit/libcsupport/src/sup_fs_eval_path.c index ca31e5eb69..a6eabe8065 100644 --- a/cpukit/libcsupport/src/sup_fs_eval_path.c +++ b/cpukit/libcsupport/src/sup_fs_eval_path.c @@ -25,6 +25,8 @@ #include <rtems/libio_.h> +#include <string.h> + static size_t get_parentpathlen(const char *path, size_t pathlen) { while (pathlen > 0) { |