From 366f48b6e28d5b68def345d976b6852a610b3790 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Wed, 29 Aug 2007 23:00:55 +0000 Subject: [PATCH] (in.h, inet.h) [_WIN32]: Switch to "sys/socket.h" so all files in w32 library use a local file access for include files in or under w32. --- src/lib/w32/arpa/inet.h | 2 +- src/lib/w32/netinet/in.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/w32/arpa/inet.h b/src/lib/w32/arpa/inet.h index 5f403d0c..4f94f430 100644 --- a/src/lib/w32/arpa/inet.h +++ b/src/lib/w32/arpa/inet.h @@ -34,7 +34,7 @@ #ifndef ARPA_INET_H #define ARPA_INET_H -#include +#include "sys/socket.h" extern const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt); diff --git a/src/lib/w32/netinet/in.h b/src/lib/w32/netinet/in.h index 1899ec3a..e5a3de63 100644 --- a/src/lib/w32/netinet/in.h +++ b/src/lib/w32/netinet/in.h @@ -34,5 +34,5 @@ #ifndef NETINET_IN_H #define NETINET_IN_H -#include +#include "sys/socket.h" #endif /* NETINET_IN_H */