miniupnpc/connecthostport.c: fix for compilation with SunOS

This commit is contained in:
Thomas Bernard 2014-10-06 14:42:28 +02:00
parent c79c17115c
commit 28e3bda6dd
1 changed files with 2 additions and 1 deletions

View File

@ -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 */