On Tue, Oct 14, 2003 at 05:50:21PM +1000, Charlie Allom wrote:
> I have this error on OS X, and I believe it cropped up in 2.6.7 (though I could be 
> wrong).
>
> Resolver.cc:493: error: `C_IN' undeclared (first use this function)

Try this patch.

--
   Alexander.
Index: Resolver.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/Resolver.cc,v
retrieving revision 1.57
diff -u -p -r1.57 Resolver.cc
--- Resolver.cc 3 Jun 2002 08:50:27 -0000       1.57
+++ Resolver.cc 15 Oct 2003 12:14:01 -0000
@@ -49,6 +49,9 @@
 #include "log.h"
 #include "plural.h"
 
+#ifndef C_IN
+# define C_IN 1
+#endif
 #ifndef T_SRV
 # define T_SRV 33
 #endif

Reply via email to