summaryrefslogtreecommitdiff
path: root/librt/mq_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'librt/mq_send.c')
-rw-r--r--librt/mq_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librt/mq_send.c b/librt/mq_send.c
index fb4fa6555..079e804f7 100644
--- a/librt/mq_send.c
+++ b/librt/mq_send.c
@@ -8,7 +8,7 @@
#include <mqueue.h>
-#ifdef __NR_mq_timedsend
+#if defined(__NR_mq_timedsend) || defined(__NR_mq_timedsend_time64)
int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio)
{
return mq_timedsend(mqdes, msg_ptr, msg_len, msg_prio, NULL);