struct msgbuf in sys/msg.h is not part of any standard and is just a template structure for people to use - it should be excluded. http://lsb.sourceforge.net/headers.php3?cmd=display-hg&hgid=50 Cheers, Matt