--- src/url.c.ORIG	2017-12-05 00:13:31 -0600
+++ src/url.c	2017-12-05 00:19:39 -0600
@@ -1544,6 +1544,7 @@
   append_null (dest);
 }
 
+#ifdef HAVE_ICONV 
 static char *
 convert_fname (char *fname)
 {
@@ -1617,6 +1618,13 @@
 
   return converted_fname;
 }
+#else
+static char *
+convert_fname (char * fname)
+{
+  return fname;
+}
+#endif 
 
 /* Append to DEST the directory structure that corresponds the
    directory part of URL's path.  For example, if the URL is
