Some commits on top of Jonas' OSX support branch.
OS X support: abstract sendfile() differences, set sockaddr.sin_len
Add missing OSX-only import
Zero the sockaddr_in struct before using
Build with -fcommon for success on OSX
Perfect! I'm going to squash the commits into a single one. Thanks so much for this!
OS X support
* abstract sendfile() differences
* memset-zero sockaddr_in before using
* build with -fcommon -- let the linker strip duplicate symbols
Closes #60, #59 and #19.