summaryrefslogtreecommitdiff
path: root/nanoftp.c
diff options
context:
space:
mode:
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