aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mqueue.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/mqueue.h b/include/mqueue.h
index 3c66f1711e..32e6570529 100644
--- a/include/mqueue.h
+++ b/include/mqueue.h
@@ -10,4 +10,13 @@ extern __typeof (mq_timedreceive) __mq_timedreceive __nonnull ((2, 5));
hidden_proto (__mq_timedreceive)
hidden_proto (mq_setattr)
# endif
+#include <struct___timespec64.h>
+#if __TIMESIZE == 64
+# define __mq_timedsend_time64 __mq_timedsend
+#else
+extern int __mq_timedsend_time64 (mqd_t mqdes, const char *msg_ptr,
+ size_t msg_len, unsigned int msg_prio,
+ const struct __timespec64 *abs_timeout);
+librt_hidden_proto (__mq_timedsend_time64)
+#endif
#endif