Cygwin: POSIX msg queues: move definition of struct msg_hdr

...to mqueue_types.h header.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2021-05-25 16:17:58 +02:00
parent 49b84cb264
commit 4ea7c12a20
1 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,13 @@ struct mq_hdr
uint32_t mqh_magic; /* Expect MQI_MAGIC here, otherwise it's
an old-style message queue. */
};
struct msg_hdr
{
int32_t msg_next; /* index of next on linked list */
int32_t msg_len; /* actual length */
unsigned int msg_prio; /* priority */
};
#pragma pack (pop)
struct mq_info