From c661180d150231591fa39e7cff85d19155cdd327 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Wed, 11 Apr 2012 17:41:51 -0300 Subject: [PATCH] Add errno.h inclusion in unixutil.h only in WIN32 --- upnp/src/inc/unixutil.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upnp/src/inc/unixutil.h b/upnp/src/inc/unixutil.h index 30e4269..e94afff 100644 --- a/upnp/src/inc/unixutil.h +++ b/upnp/src/inc/unixutil.h @@ -35,9 +35,10 @@ /* Unix-specific network utilities */ #include "UpnpInet.h" -#include #ifdef WIN32 + #include + typedef int socklen_t; #ifndef EAFNOSUPPORT /* VS2010 has this defined */ #define EAFNOSUPPORT 97