diff options
author | Bruno Haible <bruno@clisp.org> | 2008-11-15 21:17:23 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-11-15 21:17:23 +0100 |
commit | 394c5a6e3419bf5042ab9bc3f78d724dbeac5ff3 (patch) | |
tree | 6083380c0a3a06a52bfdc86de01e1b5956019451 /lib/netdb.in.h | |
parent | c571b02a40485aa46e146a68d6d47eca71a4b477 (diff) | |
download | gnulib-394c5a6e3419bf5042ab9bc3f78d724dbeac5ff3.tar.gz |
Make the netdb.h replacement work on Haiku.
Diffstat (limited to 'lib/netdb.in.h')
-rw-r--r-- | lib/netdb.in.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/netdb.in.h b/lib/netdb.in.h index b0ee286791..c6aff668b4 100644 --- a/lib/netdb.in.h +++ b/lib/netdb.in.h @@ -36,12 +36,6 @@ #ifndef _GL_NETDB_H #define _GL_NETDB_H -#if @HAVE_NETDB_H@ && @HAVE_STRUCT_ADDRINFO@ - -/* Declarations for a platform that has <netdb.h>. */ - -#else - /* Get netdb.h definitions such as struct hostent for MinGW. */ #include <sys/socket.h> @@ -112,7 +106,7 @@ struct addrinfo # endif # ifndef EAI_OVERFLOW -/* Not defined on mingw32. */ +/* Not defined on mingw32 and Haiku. */ # define EAI_OVERFLOW -12 /* Argument buffer overflow. */ # endif # ifndef EAI_ADDRFAMILY @@ -184,7 +178,5 @@ extern int getnameinfo(const struct sockaddr *restrict sa, socklen_t salen, #endif /* @GNULIB_GETADDRINFO@ */ -#endif /* HAVE_NETDB_H */ - #endif /* _GL_NETDB_H */ #endif /* _GL_NETDB_H */ |