Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

(cherry picked from commit c661180)
  • Loading branch information...
commit b1646eb0a38772dd7e16eb9e34dd6a04d5679c9c 1 parent acc6b4d
@mrjimenez authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  upnp/src/inc/unixutil.h
View
3  upnp/src/inc/unixutil.h
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.