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/libblock/src | |
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/libblock/src')
-rw-r--r-- | cpukit/libblock/src/bdbuf.c | 1 | ||||
-rw-r--r-- | cpukit/libblock/src/media.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libblock/src/bdbuf.c b/cpukit/libblock/src/bdbuf.c index 8ea8cbada5..76f238df1c 100644 --- a/cpukit/libblock/src/bdbuf.c +++ b/cpukit/libblock/src/bdbuf.c @@ -33,6 +33,7 @@ #include <limits.h> #include <errno.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <inttypes.h> #include <pthread.h> diff --git a/cpukit/libblock/src/media.c b/cpukit/libblock/src/media.c index 3cdb3e933e..6df8a33249 100644 --- a/cpukit/libblock/src/media.c +++ b/cpukit/libblock/src/media.c @@ -20,6 +20,7 @@ * http://www.rtems.org/license/LICENSE. */ +#include <stdlib.h> #include <string.h> #include <assert.h> #include <unistd.h> |