From: Daniel Stenberg Date: Thu, 21 Oct 2004 08:22:07 +0000 (+0000) Subject: Dan Fandrich's better ifdef for include fix X-Git-Tag: curl-7_12_3~275 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2730842559e4cb30a9997ca127c020c5857b97af;p=thirdparty%2Fcurl.git Dan Fandrich's better ifdef for include fix --- diff --git a/lib/ftp.c b/lib/ftp.c index 7e0aff7756..e20514047e 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 #endif @@ -51,7 +51,9 @@ #ifdef HAVE_ARPA_INET_H #include #endif +#ifdef HAVE_UTSNAME_H #include +#endif #ifdef HAVE_NETDB_H #include #endif