resolv: Add a required include to resolv.h
Add a required include to resolv.h for sockaddr_in. This should reduce
patching required when porting code written with Linux or NetBSD in mind.
PR: 182466
MFC after: 1 week
(cherry picked from commit 58cf91d3b72a01777bacf72d66a648a744ae3143)