#include "ace/os_include/netinet/os_in.h"
This code was originally in various places including ace/OS.h.