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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user