__FreeBSD__ is defined by default on FreeBSD. Include netinet/in.h for