2013-09-26 17:14:40 +02:00

18 lines
472 B
Plaintext

$NetBSD: patch-ab,v 1.14 2011/01/23 14:36:10 wiz Exp $
http://midnight-commander.org/ticket/2476
--- lib/vfs/mc-vfs/ftpfs.c.orig 2010-11-08 11:46:13.000000000 +0000
+++ lib/vfs/mc-vfs/ftpfs.c
@@ -115,9 +115,9 @@ What to do with this?
#define INADDR_NONE 0xffffffff
#endif
-/* for uclibc < 0.9.29 */
+/* for systems that doesn't provide AI_ADDRCONFIG */
#ifndef AI_ADDRCONFIG
-#define AI_ADDRCONFIG 0x0020
+#define AI_ADDRCONFIG 0
#endif
#define RFC_AUTODETECT 0