Use the correct type for htons according to the man page
Use the correct type for htons according to the man page

This actually breaks otherwise on Solaris, since there is
no type u_int16_t on that platform. The man page for htons
also names uint16_t as the type for the argument and return
value so we should adhere to that type.

The previous commit makes sure this type is actually discovered
on OS X, since on that platform apparently including sys/types.h
doesn't make this type available.

lgierth/rubinius,ngpestelos/rubinius,lgierth/rubinius,heftig/rubinius,sferik/rubinius,benlovell/rubinius,jemc/rubinius,jemc/rubinius,kachick/rubinius,Wirachmat/rubinius,mlarraz/rubinius,heftig/rubinius,digitalextremist/rubinius,pH14/rubinius,sferik/rubinius,benlovell/rubinius,Wirachmat/rubinius,sferik/rubinius,Wirachmat/rubinius,lgierth/rubinius,digitalextremist/rubinius,dblock/rubinius,jsyeo/rubinius,ngpestelos/rubinius,Azizou/rubinius,jemc/rubinius,benlovell/rubinius,jsyeo/rubinius,heftig/rubinius,heftig/rubinius,heftig/rubinius,ngpestelos/rubinius,Wirachmat/rubinius,Wirachmat/rubinius,ruipserra/rubinius,kachick/rubinius,ruipserra/rubinius,kachick/rubinius,mlarraz/rubinius,Wirachmat/rubinius,digitalextremist/rubinius,heftig/rubinius,pH14/rubinius,digitalextremist/rubinius,benlovell/rubinius,digitalextremist/rubinius,Azizou/rubinius,kachick/rubinius,lgierth/rubinius,dblock/rubinius,Azizou/rubinius,mlarraz/rubinius,Azizou/rubinius,pH14/rubinius,Azizou/rubinius,kachick/rubinius,digitalextremist/rubinius,jemc/rubinius,jemc/rubinius,sferik/rubinius,dblock/rubinius,kachick/rubinius,Wirachmat/rubinius,ngpestelos/rubinius,dblock/rubinius,mlarraz/rubinius,sferik/rubinius,sferik/rubinius,heftig/rubinius,ngpestelos/rubinius,ngpestelos/rubinius,pH14/rubinius,benlovell/rubinius,pH14/rubinius,sferik/rubinius,dblock/rubinius,ruipserra/rubinius,lgierth/rubinius,ruipserra/rubinius,lgierth/rubinius,mlarraz/rubinius,ruipserra/rubinius,Azizou/rubinius,jsyeo/rubinius,pH14/rubinius,mlarraz/rubinius,dblock/rubinius,Azizou/rubinius,pH14/rubinius,jsyeo/rubinius,ngpestelos/rubinius,digitalextremist/rubinius,benlovell/rubinius,benlovell/rubinius,jemc/rubinius,jsyeo/rubinius,jsyeo/rubinius,ruipserra/rubinius,dblock/rubinius,ruipserra/rubinius,jemc/rubinius,lgierth/rubinius,kachick/rubinius,kachick/rubinius,jsyeo/rubinius,mlarraz/rubinius