CMSG_LEN, CMSG_SPACE not there on illumos

Ralph Böhme rb at
Wed Apr 29 10:18:21 MDT 2015

On Wed, Apr 29, 2015 at 12:07:40PM -0400, Gordon Ross wrote:
> Nevermind about CMSG_LEN, CMSG_SPACE being missing.
> They're right there in sys/socket.h but only exposed if XPG4v2 or later,
> so Samba needs to use -D_XOPEN_SOURCE=600
> I took a stab a changing that, and ran into the "fun" of waf in
> buildtools/wafsamba/wscript ...
> I'll send my attempt at fixing this later...

it seems you missed this one:


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen,

More information about the samba-technical mailing list