hostcheck: added a system include to define struct in_addr