diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-07 11:59:09 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-07 11:59:09 (GMT) |
commit | caa8ca7c9eeb847b6f85a77e1cb5a69dec6e558b (patch) | |
tree | c800545c72d0e2f17b89ea48b6cb403d07078601 /Source/CTest/Curl | |
parent | 87c27b6f06d0a967850f2db76e0c8282a11e1bcb (diff) | |
download | CMake-caa8ca7c9eeb847b6f85a77e1cb5a69dec6e558b.zip CMake-caa8ca7c9eeb847b6f85a77e1cb5a69dec6e558b.tar.gz CMake-caa8ca7c9eeb847b6f85a77e1cb5a69dec6e558b.tar.bz2 |
COMP: Fix hostent redefined warning
Diffstat (limited to 'Source/CTest/Curl')
-rw-r--r-- | Source/CTest/Curl/hostip.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CTest/Curl/hostip.h b/Source/CTest/Curl/hostip.h index ea9d080..545fec0 100644 --- a/Source/CTest/Curl/hostip.h +++ b/Source/CTest/Curl/hostip.h @@ -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; |