diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-07 10:29:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-07 10:29:09 +0200 |
commit | d8ec270b333bfc7ad7cf7f79b407ee5513435cb8 (patch) | |
tree | 787734fac6f62c7593763494ac5d29fa3fdb7189 /cpukit/libfs/src/rfs | |
parent | af13b01888fff2ab458965aaaa40beeacf054098 (diff) |
libblock: Drop superfluous <stdlib.h> include
Drop superfluous <stdlib.h> include from <rtems/diskdevs.h> since this
leads to conflicts with the latest Newlib in case this header file is
used in the FreeBSD kernel space, e.g. for USB mass storage support.
Diffstat (limited to 'cpukit/libfs/src/rfs')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file-system.c | 1 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-file.c | 1 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-shell.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file-system.c b/cpukit/libfs/src/rfs/rtems-rfs-file-system.c index cf47f43414..68f0fd87b3 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-file-system.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-file-system.c @@ -19,6 +19,7 @@ #endif #include <inttypes.h> +#include <stdlib.h> #include <string.h> #include <rtems/rfs/rtems-rfs-data.h> diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file.c b/cpukit/libfs/src/rfs/rtems-rfs-file.c index 539edb0699..fbf35828db 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-file.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-file.c @@ -20,6 +20,7 @@ #endif #include <inttypes.h> +#include <stdlib.h> #include <string.h> #include <rtems/rfs/rtems-rfs-block-pos.h> diff --git a/cpukit/libfs/src/rfs/rtems-rfs-shell.c b/cpukit/libfs/src/rfs/rtems-rfs-shell.c index 96d65e38aa..63147999a0 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-shell.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-shell.c @@ -18,6 +18,7 @@ #endif #include <inttypes.h> +#include <stdlib.h> #include <string.h> #include <rtems/rfs/rtems-rfs-block.h> |