summaryrefslogtreecommitdiff
path: root/nanoftp.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-01-15 17:18:53 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-01-15 17:18:53 +0000
commitdb439254cf6914eb2c70eb99cd118a2e5f242346 (patch)
treeb237a07963e34120abaa0da2b46ca04d9c114f52 /nanoftp.c
parent9186a1fdb637c71a7fbeb76e0bbe6104ee345de3 (diff)
downloadlibxml2-db439254cf6914eb2c70eb99cd118a2e5f242346.tar.gz
applied patch from Dan McNichol for compilation on AIX Daniel
* nanoftp.c: applied patch from Dan McNichol for compilation on AIX Daniel
Diffstat (limited to 'nanoftp.c')
-rw-r--r--nanoftp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nanoftp.c b/nanoftp.c
index 83a23b07..0df98da5 100644
--- a/nanoftp.c
+++ b/nanoftp.c
@@ -85,7 +85,6 @@
#define SOCKLEN_T unsigned int
#endif
-
/**
* A couple portability macros
*/
@@ -105,6 +104,9 @@
#endif
#endif
+#ifdef _AIX
+#define ss_family __ss_family
+#endif
#define FTP_COMMAND_OK 200
#define FTP_SYNTAX_ERROR 500