Commit b61ae8c0 authored by Pekka Pessi's avatar Pekka Pessi

Fixed sresolv #includes.

darcs-hash:20060426090346-65a35-c94debc1f002755f67c0e9cc4e8852c02a6a5afe.gz
parent 717b6df0
......@@ -48,10 +48,9 @@ typedef unsigned _int32 uint32_t;
#endif
#if HAVE_NETINET_IN_H
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#endif
#if HAVE_ARPA_INET_H
......@@ -88,6 +87,7 @@ struct sockaddr_storage {
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
......
......@@ -45,6 +45,8 @@ typedef unsigned _int32 uint32_t;
#endif
#if HAVE_NETINET_IN_H
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
......
......@@ -45,7 +45,10 @@ typedef unsigned _int16 uint16_t;
typedef unsigned _int32 uint32_t;
#endif
#endif
#if HAVE_NETINET_IN_H
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
......
......@@ -46,8 +46,11 @@ typedef unsigned _int32 uint32_t;
#endif
#if HAVE_NETINET_IN_H
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
#if HAVE_WINSOCK2_H
#include <winsock2.h>
#include <ws2tcpip.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment