arpa/inet.h is the canonical source of htons and friends.
At least on NetBSD, none of the already included headers pulls it in.