1 /* 2 * inet_aton.h 3 * prototypes for inet_aton.c 4 * 5 * $Id: inet_aton.h,v 1.9 2004/02/06 23:44:41 [Xp-AvR] Exp $ 6 */ 7 8 #ifndef _EVANGELINE_COMPAT_INET_ATON_H 9 #define _EVANGELINE_COMPAT_INET_ATON_H 10 11 #include "src/main.h" 12 #if HAVE_SYS_SOCKET_H 13 # include <sys/socket.h> 14 #endif 15 #include <netinet/in.h> 16 #include <arpa/inet.h> 17 18 #ifndef HAVE_INET_ATON 19 int EvangelineInet_aton(const char *cp, struct in_addr *addr); 20 #else 21 # define EvangelineInet_aton inet_aton 22 #endif 23 24 #endif /* !__EVANGELINE_COMPAT_INET_ATON_H */ 25