#include #include int inet_aton(const char *cp, struct in_addr *inp) { return inet_pton(AF_INET, cp, (void *)inp) > 0; }