posix: Fix HAVE_MQUEUE_H check
PATCH 1/1 posix: Fix HAVE_MQUEUE_H check
Please pull from git://git.xenomai.org/xenomai-jki.git for-upstream
------>
Signed-off-by Jan Kiszka <[email protected]>
---
include/posix/mqueue.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
include/posix/mqueue.h +3 -3
@@ -40,7 +40,7 @@#endif /* !(__KERNEL__ || __XENO_SIM__) */ -#if defined(__KERNEL__) || defined(__XENO_SIM__) || !HAVE_MQUEUE +#if defined(__KERNEL__) || defined(__XENO_SIM__) || !defined(HAVE_MQUEUE_H )#ifndef MQ_PRIO_MAX #define MQ_PRIO_MAX 32768
@@ -104,7 +104,7 @@ int mq_unlink(const char *name); }#endif -#else /* !(__KERNEL__ || __XENO_SIM__ || !HAVE_MQUEUE) */ +#else /* !(__KERNEL__ || __XENO_SIM__ || !HAVE_MQUEUE_H) */ #include_next <mqueue.h>
@@ -155,6 +155,6 @@ int __real_mq_notify(mqd_t mqdes, const struct sigevent *notification); }#endif -#endif /* !(__KERNEL__ || __XENO_SIM__ || !HAVE_MQUEUE) */ +#endif /* !(__KERNEL__ || __XENO_SIM__ || !HAVE_MQUEUE_H) */ #endif /* _XENO_POSIX_MQUEUE_H */