In src/http.c you need to include <netinet/in.h> to be able to use internet structures/functions (struct in_addr, struct sockaddr_in, etc.) on unix.
Odd... http.c is just copied from gxine. Not sure why it isn't there already, and I find it odd that apparently no one has compiled gxine on FreeBSD...