aboutsummaryrefslogtreecommitdiff
path: root/rt/mqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'rt/mqueue.h')
-rw-r--r--rt/mqueue.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/rt/mqueue.h b/rt/mqueue.h
index a2a2aa1771..b96a2ab573 100644
--- a/rt/mqueue.h
+++ b/rt/mqueue.h
@@ -19,13 +19,19 @@
#define _MQUEUE_H 1
#include <features.h>
-#include <sys/types.h>
#include <fcntl.h>
+
+#include <bits/types.h>
+#include <bits/pthreadtypes.h>
#include <bits/types/sigevent_t.h>
+#include <bits/types/size_t.h>
+#include <bits/types/ssize_t.h>
#include <bits/types/struct_timespec.h>
+
/* Get the definition of mqd_t and struct mq_attr. */
#include <bits/mqueue.h>
+
__BEGIN_DECLS
/* Establish connection between a process and a message queue NAME and