diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1998-12-03 22:17:13 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1998-12-03 22:17:13 +0000 |
commit | 7a3878b26f5a94c3b88e715ccf84d097e925fe87 (patch) | |
tree | 6ac83618de002201073ae27d99b36645072e8f98 /cpukit/libcsupport/include/rtems | |
parent | Added a imfs fdatasync routine that gets called for fdatasync and datasync. (diff) | |
download | rtems-7a3878b26f5a94c3b88e715ccf84d097e925fe87.tar.bz2 |
Modifications for RTEMS_UNIX.
Diffstat (limited to 'cpukit/libcsupport/include/rtems')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio_.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index 76a90954b0..ee0aaf9b7f 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -20,6 +20,7 @@ #ifndef _RTEMS_LIBIO_H #define _RTEMS_LIBIO_H +#include <sys/types.h> #include <sys/stat.h> /* diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h index bb6f81f35a..33a9e7bda5 100644 --- a/cpukit/libcsupport/include/rtems/libio_.h +++ b/cpukit/libcsupport/include/rtems/libio_.h @@ -27,6 +27,7 @@ extern "C" { #include <fcntl.h> /* O_RDONLY, et.al. */ #include <assert.h> #include <stdarg.h> +#include <errno.h> #if ! defined(O_NDELAY) # if defined(solaris2) @@ -36,6 +37,10 @@ extern "C" { # endif #endif +#if !defined(ENOTSUP) +#define ENOTSUP EOPNOTSUPP +#endif + #include <errno.h> #include <string.h> /* strcmp */ #include <unistd.h> |