Merge pull request #324 from CyberLeo/build_on_freebsd Changes to build prototypes to support building on FreeBSD 9.1-RC2 amd64