sockio.h is required on OpenSolaris for SIOCGIFADDR.