projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac269c
)
Dan Fandrich's better ifdef for include fix
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 21 Oct 2004 08:22:07 +0000
(08:22 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 21 Oct 2004 08:22:07 +0000
(08:22 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
7e0aff7
..
e205140
100644
(file)
--- 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