Ticket #2476: patch-ab

File patch-ab, 384 bytes (added by cheusov, 13 years ago)
Line 
1$NetBSD$
2
3--- lib/vfs/mc-vfs/ftpfs.c.orig 2010-11-08 11:46:13.000000000 +0000
4+++ lib/vfs/mc-vfs/ftpfs.c
5@@ -115,9 +115,9 @@ What to do with this?
6 #define INADDR_NONE 0xffffffff
7 #endif
8 
9-/* for uclibc < 0.9.29 */
10+/* for systems that doesn't provide AI_ADDRCONFIG */
11 #ifndef AI_ADDRCONFIG
12-#define AI_ADDRCONFIG 0x0020
13+#define AI_ADDRCONFIG 0
14 #endif
15 
16 #define RFC_AUTODETECT 0