projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'unicase/u16-is-uppercase'.
[gnulib.git]
/
lib
/
netdb.in.h
diff --git
a/lib/netdb.in.h
b/lib/netdb.in.h
index
b0ee286
..
c6aff66
100644
(file)
--- a/
lib/netdb.in.h
+++ b/
lib/netdb.in.h
@@
-36,12
+36,6
@@
#ifndef _GL_NETDB_H
#define _GL_NETDB_H
#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>
/* Get netdb.h definitions such as struct hostent for MinGW. */
#include <sys/socket.h>
@@
-112,7
+106,7
@@
struct addrinfo
# endif
# ifndef EAI_OVERFLOW
# 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
# 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 /* @GNULIB_GETADDRINFO@ */
-#endif /* HAVE_NETDB_H */
-
#endif /* _GL_NETDB_H */
#endif /* _GL_NETDB_H */
#endif /* _GL_NETDB_H */
#endif /* _GL_NETDB_H */