CXX expander.lo
expander.cc:41:28: error: member access into incomplete type 'const struct sockaddr_in'
inet_ntop(s_sockaddr_in->sin_family, &s_sockaddr_in->sin_addr, res, INET_ADDRSTRLEN);
^
expander.cc:30:16: note: forward declaration of 'sockaddr_in'
const struct sockaddr_in *s_sockaddr_in;
^
expander.cc:45:29: error: member access into incomplete type 'const struct sockaddr_in6'
inet_ntop(s_sockaddr_in6->sin6_family, &s_sockaddr_in6->sin6_addr, res, INET6_ADDRSTRLEN);
^
expander.cc:31:16: note: forward declaration of 'sockaddr_in6'
const struct sockaddr_in6 *s_sockaddr_in6;
^