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 */
|
||||
|
||||
#include "UpnpInet.h"
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <errno.h>
|
||||
|
||||
typedef int socklen_t;
|
||||
#ifndef EAFNOSUPPORT /* VS2010 has this defined */
|
||||
#define EAFNOSUPPORT 97
|
||||
|
Loading…
Reference in New Issue
Block a user