aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-21 08:22:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-21 08:22:07 +0000
commit2730842559e4cb30a9997ca127c020c5857b97af (patch)
tree0ced97c49b30830ec80e5eae45f104b0af9750db /lib/ftp.c
parentcac269cf91112700d7ec46c102869121f9d98af7 (diff)
Dan Fandrich's better ifdef for include fix
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 7e0aff775..e20514047 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -40,7 +40,7 @@
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
-#else /* some kind of unix */
+#else /* probably some kind of unix */
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -51,7 +51,9 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
+#ifdef HAVE_UTSNAME_H
#include <sys/utsname.h>
+#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif