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 | |
parent | network: Quirk for Newlib compatibility (diff) | |
download | rtems-d8ec270b333bfc7ad7cf7f79b407ee5513435cb8.tar.bz2 |
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')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_conv_default.c | 1 | ||||
-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 |
4 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_conv_default.c b/cpukit/libfs/src/dosfs/msdos_conv_default.c index 781601e73b..a3f6b835ee 100644 --- a/cpukit/libfs/src/dosfs/msdos_conv_default.c +++ b/cpukit/libfs/src/dosfs/msdos_conv_default.c @@ -20,6 +20,7 @@ * http://www.rtems.org/license/LICENSE. */ +#include <stdlib.h> #include <string.h> #include <errno.h> #include <ctype.h> 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> |