miniupnpc/connecthostport.c: include netinet/in.h

This commit is contained in:
Thomas Bernard 2012-06-28 21:03:10 +02:00
parent 18c973d9fc
commit b8953b8414
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $Id: connecthostport.c,v 1.8 2012/06/23 22:32:33 nanard Exp $ */
/* $Id: connecthostport.c,v 1.9 2012/06/26 00:00:27 nanard Exp $ */
/* Project : miniupnp
* Author : Thomas Bernard
* Copyright (c) 2010-2012 Thomas Bernard
@ -27,6 +27,7 @@
#include <errno.h>
#define closesocket close
#include <netdb.h>
#include <netinet/in.h>
/* defining MINIUPNPC_IGNORE_EINTR enable the ignore of interruptions
* during the connect() call */
#define MINIUPNPC_IGNORE_EINTR