- reversed include guard around socket definitions to allow compilation on FreeBSD and others