Skip to content

Commit

Permalink
Add errno.h inclusion in unixutil.h only in WIN32
Browse files Browse the repository at this point in the history
(cherry picked from commit c661180)
  • Loading branch information
mrjimenez committed Apr 11, 2012
1 parent acc6b4d commit b1646eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upnp/src/inc/unixutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1646eb

Please sign in to comment.