aboutsummaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/aio.h3
-rw-r--r--rt/mqueue.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/rt/aio.h b/rt/aio.h
index 8cb6a5e..bc70082d 100644
--- a/rt/aio.h
+++ b/rt/aio.h
@@ -26,8 +26,7 @@
#include <sys/types.h>
#define __need_sigevent_t
#include <bits/siginfo.h>
-#define __need_timespec
-#include <time.h>
+#include <bits/types/struct_timespec.h>
__BEGIN_DECLS
diff --git a/rt/mqueue.h b/rt/mqueue.h
index 9700cdc..db6022f 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>