COMP: Fix hostent redefined warning
This commit is contained in:
parent
87c27b6f06
commit
caa8ca7c9e
@ -26,6 +26,10 @@
|
|||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_NETDB_H
|
||||||
|
#include <netdb.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Setup comfortable CURLRES_* defines to use in the host*.c sources.
|
* Setup comfortable CURLRES_* defines to use in the host*.c sources.
|
||||||
*/
|
*/
|
||||||
@ -106,7 +110,6 @@ typedef struct Curl_addrinfo Curl_addrinfo;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct addrinfo;
|
struct addrinfo;
|
||||||
struct hostent;
|
|
||||||
struct SessionHandle;
|
struct SessionHandle;
|
||||||
struct connectdata;
|
struct connectdata;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user