summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/hostip.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/Curl/hostip.h')
-rw-r--r--Source/CTest/Curl/hostip.h5
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;