summaryrefslogtreecommitdiff
path: root/include/mqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mqueue.h')
-rw-r--r--include/mqueue.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mqueue.h b/include/mqueue.h
index 98e4596c22..008589f0fa 100644
--- a/include/mqueue.h
+++ b/include/mqueue.h
@@ -8,8 +8,15 @@ hidden_proto (__mq_timedsend)
hidden_proto (mq_timedreceive)
extern __typeof (mq_timedreceive) __mq_timedreceive __nonnull ((2, 5));
hidden_proto (__mq_timedreceive)
+# if !PTHREAD_IN_LIBC
hidden_proto (mq_setattr)
+# endif
+# endif /* IS_IN (librt) */
+
+# if PTHREAD_IN_LIBC
+libc_hidden_proto (mq_setattr)
# endif
+
#include <struct___timespec64.h>
#if __TIMESIZE == 64
# define __mq_timedsend_time64 __mq_timedsend