aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-08-23 07:23:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-08-23 07:23:42 +0000
commitd4731b70505d308064e85bfa1ea1f88904442af2 (patch)
treeaf88b993286e656d7b15062a704963142062ccc8 /lib/ftp.c
parent8d2c24265d6d8ed74e3d2dc646cb1c3d20f290f3 (diff)
Albert Chin-A-Young's fixes
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 5bbc7af59..9017c20e2 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -60,22 +60,22 @@
#include <sys/socket.h>
#endif
#include <sys/types.h>
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#include <sys/utsname.h>
+#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
+#endif
#if defined(WIN32) && defined(__GNUC__) || defined(__MINGW32__)
#include <errno.h>
#endif
-#ifdef HAVE_INET_NTOA_R
-#include "inet_ntoa_r.h"
-#endif
-
#include <curl/curl.h>
#include "urldata.h"
#include "sendf.h"