netinet/ip.h requires netinet/in_systm.h

In Linux and other Unixes this is implicitly included, however in
some more exotic Unixes we need to explicitly include it.
Merge pull request #658 from cduclos/master

The joys of exotic unixes