sys/msg.h declares the struct mymsg from the example in the posix manpage. The POSIX manpage is clear that this is user defined: > The structure below is an example of what this user-defined buffer might look like: > > struct mymsg { > long mtype; /* Message type. */ > char mtext[1]; /* Message text. */ > } This should be removed and a ports exprun should be performed.
A commit references this bug: Author: brooks Date: Fri Mar 2 22:13:30 UTC 2018 New revision: 330298 URL: https://svnweb.freebsd.org/changeset/base/330298 Log: Don't define struct mymsg. PR: 224299, 224443 (exp-run) Reviewed by: kib, jhb Exp-run by: antoine Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14491 Changes: head/sys/sys/msg.h