miniupnpc/connecthostport.c: fix for compilation with SunOS
This commit is contained in:
parent
c79c17115c
commit
28e3bda6dd
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: connecthostport.c,v 1.12 2014/02/05 17:26:46 nanard Exp $ */
|
/* $Id: connecthostport.c,v 1.13 2014/03/31 12:36:36 nanard Exp $ */
|
||||||
/* Project : miniupnp
|
/* Project : miniupnp
|
||||||
* Author : Thomas Bernard
|
* Author : Thomas Bernard
|
||||||
* Copyright (c) 2010-2014 Thomas Bernard
|
* Copyright (c) 2010-2014 Thomas Bernard
|
||||||
|
@ -35,6 +35,7 @@
|
||||||
#ifndef USE_GETHOSTBYNAME
|
#ifndef USE_GETHOSTBYNAME
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#include <sys/select.h>
|
||||||
#endif /* #ifndef USE_GETHOSTBYNAME */
|
#endif /* #ifndef USE_GETHOSTBYNAME */
|
||||||
#endif /* #else _WIN32 */
|
#endif /* #else _WIN32 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue