diff options
-rw-r--r-- | cpukit/ChangeLog | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/imfs/deviceerrno.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 1892cb7652..7491a39695 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,7 @@ 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org> + * libfs/src/imfs/deviceerrno.c: + Include <rtems/devfs.h> for missing prototypes. * libfs/src/rfs/rtems-rfs-rtems-dev.c: Remove duplicate prototype of rtems_deviceio_errno. Include <rtems/devfs.h> for rtems_deviceio_errno(). diff --git a/cpukit/libfs/src/imfs/deviceerrno.c b/cpukit/libfs/src/imfs/deviceerrno.c index 396df7619d..1e83e4a7f3 100644 --- a/cpukit/libfs/src/imfs/deviceerrno.c +++ b/cpukit/libfs/src/imfs/deviceerrno.c @@ -22,6 +22,7 @@ #include <rtems.h> #include <rtems/libio.h> +#include <rtems/devfs.h> static const int status_code_to_errno [RTEMS_STATUS_CODES_LAST + 1] = { [RTEMS_SUCCESSFUL] = 0, |