diff options
Diffstat (limited to 'c/src/exec/posix/include/mqueue.h')
-rw-r--r-- | c/src/exec/posix/include/mqueue.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/c/src/exec/posix/include/mqueue.h b/c/src/exec/posix/include/mqueue.h index f1b2250e5c..8d117862ea 100644 --- a/c/src/exec/posix/include/mqueue.h +++ b/c/src/exec/posix/include/mqueue.h @@ -6,7 +6,11 @@ #ifndef __POSIX_MESSAGE_QUEUE_h #define __POSIX_MESSAGE_QUEUE_h -#include <rtems/posix/features.h> +#ifdef __cplusplus +extern "C" { +#endif + +#include <sys/features.h> #if defined(_POSIX_MESSAGE_PASSING) @@ -141,5 +145,9 @@ int mq_getattr( #endif /* _POSIX_MESSAGE_PASSING */ +#ifdef __cplusplus +} +#endif + #endif /* end of include file */ |