diff options
Diffstat (limited to 'src/include/port-sockets.h')
-rw-r--r-- | src/include/port-sockets.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/include/port-sockets.h b/src/include/port-sockets.h index 700db75108..3154c6179e 100644 --- a/src/include/port-sockets.h +++ b/src/include/port-sockets.h @@ -75,15 +75,7 @@ typedef WSABUF sg_buf; #include <sys/types.h> #include <netinet/in.h> /* For struct sockaddr_in and in_addr */ #include <arpa/inet.h> /* For inet_ntoa */ - -#if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(_WIN32) -/* Hack for HPUX, to get h_errno. */ -# define _XOPEN_SOURCE_EXTENDED 1 -# include <netdb.h> -# undef _XOPEN_SOURCE_EXTENDED -#else -# include <netdb.h> -#endif +#include <netdb.h> #include <sys/param.h> /* For MAXHOSTNAMELEN */ #include <sys/socket.h> /* For SOCK_*, AF_*, etc */ |