Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Last step to make mq_notify conform to POSIX standard, If the processhas successfully attached a notification request to the message queuevia a queue descriptor, file closing should remove the attachment.
Bring in mqueue.h to define struct mq_attr.