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

This commit is contained in:
Marcelo Roberto Jimenez 2012-04-11 17:41:51 -03:00
parent 1a98394781
commit c661180d15

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