Add errno.h inclusion in unixutil.h only in WIN32
(cherry picked from commit c661180d150231591fa39e7cff85d19155cdd327)
This commit is contained in:
parent
acc6b4d009
commit
b1646eb0a3
@ -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…
x
Reference in New Issue
Block a user