Add errno.h inclusion in unixutil.h only in WIN32

(cherry picked from commit c661180d150231591fa39e7cff85d19155cdd327)
This commit is contained in:
Marcelo Roberto Jimenez 2012-04-11 17:41:51 -03:00
parent acc6b4d009
commit b1646eb0a3

View File

@ -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