Add errno.h inclusion in unixutil.h only in WIN32
This commit is contained in:
parent
1a98394781
commit
c661180d15
@ -35,9 +35,10 @@
|
|||||||
/* Unix-specific network utilities */
|
/* Unix-specific network utilities */
|
||||||
|
|
||||||
#include "UpnpInet.h"
|
#include "UpnpInet.h"
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
typedef int socklen_t;
|
typedef int socklen_t;
|
||||||
#ifndef EAFNOSUPPORT /* VS2010 has this defined */
|
#ifndef EAFNOSUPPORT /* VS2010 has this defined */
|
||||||
#define EAFNOSUPPORT 97
|
#define EAFNOSUPPORT 97
|
||||||
|
Loading…
x
Reference in New Issue
Block a user