bittorrent/libutp — pull request #36 by ssuominengentoo (2012-05-24 12:40:28+00:00)
Title: Include more headers for FreeBSD compability (Issue #35)

This commit will add sys/types.h and netinet/in.h for compability with FreeBSD systems. The patch has been confirmed to not cause problems for Linux systems which is why there are no unnecessary #ifdef's around them.

This is coming from (in this order):

http://github.com/bittorrent/libutp/issues/35
http://trac.transmissionbt.com/ticket/4915
http://bugs.gentoo.org/400929