[_WIN32] Provide POSIX-style sys/socket.h. Use it rather than

winsock2.h.
This commit is contained in:
Ron Koenderink 2007-08-15 02:40:53 +00:00
parent 2863aba452
commit 6181fd10bf
4 changed files with 45 additions and 13 deletions

View file

@ -34,12 +34,9 @@
#include <config.h>
#ifdef _WIN32
#include <winsock2.h>
#undef NS_ALL
#else
#include <sys/types.h>
#include <sys/socket.h>
#if !defined(_WIN32)
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>