25 |
# include <sys/socket.h> |
# include <sys/socket.h> |
26 |
# include <netdb.h> |
# include <netdb.h> |
27 |
|
|
28 |
# if defined HAVE_GETADDRINFO && !HAVE_GETADDRINFO |
# if !HAVE_GETADDRINFO |
29 |
|
|
30 |
/* Structure to contain information about address of a service provider. */ |
/* Structure to contain information about address of a service provider. */ |
31 |
struct addrinfo |
struct addrinfo |
90 |
<http://www.opengroup.org/susv3xsh/gai_strerror.html>. */ |
<http://www.opengroup.org/susv3xsh/gai_strerror.html>. */ |
91 |
extern const char *gai_strerror (int ecode); |
extern const char *gai_strerror (int ecode); |
92 |
|
|
93 |
# endif |
# endif /* !HAVE_GETADDRINFO */ |
94 |
|
|
95 |
#endif /* GETADDRINFO_H */ |
#endif /* GETADDRINFO_H */ |