diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2021-05-25 16:17:58 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2021-05-25 16:17:58 +0200 |
commit | 4ea7c12a20b405e543f947623081696299844e38 (patch) | |
tree | 7be2bb7cafb066ab69f7a59059a8d8e2fc2abc13 /winsup | |
parent | 49b84cb264c3be68d8e15f8ccde28a92410a7c0c (diff) | |
download | newlib-4ea7c12a20b405e543f947623081696299844e38.zip newlib-4ea7c12a20b405e543f947623081696299844e38.tar.gz newlib-4ea7c12a20b405e543f947623081696299844e38.tar.bz2 |
Cygwin: POSIX msg queues: move definition of struct msg_hdr
...to mqueue_types.h header.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/mqueue_types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/mqueue_types.h b/winsup/cygwin/mqueue_types.h index 7c4a10e..3a4b127 100644 --- a/winsup/cygwin/mqueue_types.h +++ b/winsup/cygwin/mqueue_types.h @@ -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 |