fetchmail-friends
[Top] [All Lists]

Re: [PATCH] Re: [fetchmail]fetchmail 5.7.4: build problems continue

2001-03-15 12:00:07
Henrique de Moraes Holschuh <hmh(_at_)debian(_dot_)org>:
Index: ipv6-connect.c
===================================================================
RCS file: /home/cvs/debian/fetchmail/ipv6-connect.c,v
retrieving revision 1.4
diff -u -r1.4 ipv6-connect.c
--- ipv6-connect.c    2001/03/12 04:36:40     1.4
+++ ipv6-connect.c    2001/03/13 12:57:13
@@ -7,6 +7,8 @@
 
 */
 
+#ifdef INET6_ENABLE
+
 #include "config.h"
 #include <sys/types.h>
 #include <stdio.h>
@@ -41,7 +43,6 @@
 }
 #endif /* SA_LEN */
 
-#ifdef INET6_ENABLE
 static int default_trying_callback(struct sockaddr *sa)
 {
   char hbuf[NI_MAXHOST], sbuf[NI_MAXSERV];

This patch is slightly wrong.  The #ifdef needs to be *after* the 
#include "config.h", not before it.
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>

The conclusion is thus inescapable that the history, concept, and 
wording of the second amendment to the Constitution of the United 
States, as well as its interpretation by every major commentator and 
court in the first half-century after its ratification, indicates 
that what is protected is an individual right of a private citizen 
to own and carry firearms in a peaceful manner.
         -- Report of the Subcommittee On The Constitution of the Committee On 
            The Judiciary, United States Senate, 97th Congress, second session 
            (February, 1982), SuDoc# Y4.J 89/2: Ar 5/5