From c7aa9d6ff8913785a50b94f8a967b084d61d6af3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 26 Apr 1999 18:22:08 +0000 Subject: Repairing damage and recovering changes including C++ wrappers.. --- cpukit/posix/include/mqueue.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'cpukit/posix/include/mqueue.h') diff --git a/cpukit/posix/include/mqueue.h b/cpukit/posix/include/mqueue.h index f1b2250e5c..8d117862ea 100644 --- a/cpukit/posix/include/mqueue.h +++ b/cpukit/posix/include/mqueue.h @@ -6,7 +6,11 @@ #ifndef __POSIX_MESSAGE_QUEUE_h #define __POSIX_MESSAGE_QUEUE_h -#include +#ifdef __cplusplus +extern "C" { +#endif + +#include #if defined(_POSIX_MESSAGE_PASSING) @@ -141,5 +145,9 @@ int mq_getattr( #endif /* _POSIX_MESSAGE_PASSING */ +#ifdef __cplusplus +} +#endif + #endif /* end of include file */ -- cgit v1.2.3