diff options
Diffstat (limited to 'c')
-rw-r--r-- | c/src/exec/posix/include/aio.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/c/src/exec/posix/include/aio.h b/c/src/exec/posix/include/aio.h index 6348da4c15..8fc18a59f2 100644 --- a/c/src/exec/posix/include/aio.h +++ b/c/src/exec/posix/include/aio.h @@ -6,7 +6,11 @@ #ifndef __POSIX_ASYNCHRONOUS_IO_h #define __POSIX_ASYNCHRONOUS_IO_h -#include <rtems/posix/features.h> +#ifdef __cplusplus +extern "C" { +#endif + +#include <sys/features.h> #if defined(_POSIX_ASYNCHRONOUS_IO) @@ -133,5 +137,9 @@ int aio_fsync( #endif /* _POSIX_ASYNCHRONOUS_IO */ +#ifdef __cplusplus +} +#endif + #endif /* end of include file */ |