mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
COMP: Fix hostent redefined warning
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
#include "setup.h"
|
||||
#include "hash.h"
|
||||
|
||||
#ifdef HAVE_NETDB_H
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Setup comfortable CURLRES_* defines to use in the host*.c sources.
|
||||
*/
|
||||
@@ -106,7 +110,6 @@ typedef struct Curl_addrinfo Curl_addrinfo;
|
||||
#endif
|
||||
|
||||
struct addrinfo;
|
||||
struct hostent;
|
||||
struct SessionHandle;
|
||||
struct connectdata;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user