summaryrefslogtreecommitdiff
path: root/lib/libc/sys/mqueue/mq_timedsend.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/mqueue/mq_timedsend.c')
-rw-r--r--lib/libc/sys/mqueue/mq_timedsend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/mqueue/mq_timedsend.c b/lib/libc/sys/mqueue/mq_timedsend.c
index 228a5d06..3f533095 100644
--- a/lib/libc/sys/mqueue/mq_timedsend.c
+++ b/lib/libc/sys/mqueue/mq_timedsend.c
@@ -1,9 +1,9 @@
#include <mqueue.h>
+#include <stddef.h>
#include <syscall.h>
+#include <time.h>
-int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len,
- unsigned msg_prio, const struct timespec *abstime)
+int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abstime)
{
- return syscall(mq_timedsend, mqdes, msg_ptr, msg_len, msg_prio,
- abstime);
+ return syscall(mq_timedsend, mqdes, msg_ptr, msg_len, msg_prio, abstime);
}