UpnpInet.h is now the only place where winsock2.h and Ws2tcpip.h are included.

git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@455 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Marcelo Roberto Jimenez
2008-07-21 22:42:54 +00:00
parent d991fbe26c
commit 943483e8b7
14 changed files with 254 additions and 189 deletions

View File

@@ -50,6 +50,7 @@
#include "uri.h"
#include "statcodes.h"
#include "sock.h"
#include "UpnpInet.h"
#include "webserver.h"
@@ -66,12 +67,10 @@
#ifdef WIN32
#include <winsock2.h>
#include <malloc.h>
#else
#include <arpa/inet.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>