diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |