need to define _XPG4_2 on Solaris
VLC 1.0.1, Solaris 10 when compiling:
network/rootbind.c: In function `recv_fd':
network/rootbind.c:74: error: structure has no member named `msg_control'
network/rootbind.c:75: error: structure has no member named `msg_controllen'
network/rootbind.c:77: warning: assignment from incompatible pointer type
network/rootbind.c:83: error: implicit declaration of function `CMSG_FIRSTHDR'
network/rootbind.c:83: warning: assignment makes pointer from integer without a cast
network/rootbind.c:84: error: implicit declaration of function `CMSG_NXTHDR'
network/rootbind.c:84: warning: assignment makes pointer from integer without a cast
network/rootbind.c:90: error: implicit declaration of function `CMSG_DATA'
network/rootbind.c:90: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast
Workaround is to add CPPFLAGS="-D_XPG4_2" to the ./configure command.