about summary refs log tree commit diff
path: root/rt/mqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'rt/mqueue.h')
-rw-r--r--rt/mqueue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/rt/mqueue.h b/rt/mqueue.h
index 9700cdc93f..db6022f0f1 100644
--- a/rt/mqueue.h
+++ b/rt/mqueue.h
@@ -23,8 +23,7 @@
 #include <fcntl.h>
 #define __need_sigevent_t
 #include <bits/siginfo.h>
-#define __need_timespec
-#include <time.h>
+#include <bits/types/struct_timespec.h>
 /* Get the definition of mqd_t and struct mq_attr.  */
 #include <bits/mqueue.h>