Moved inline functions from rsync.h into ifuncs.h.
[rsync/rsync.git] / flist.c
diff --git a/flist.c b/flist.c
index a5c7ca3..42518d9 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -21,6 +21,7 @@
  */
 
 #include "rsync.h"
+#include "ifuncs.h"
 #include "rounding.h"
 #include "io.h"
 
@@ -1645,8 +1646,10 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
        int flags, disable_buffering;
        int reading_remotely = filesfrom_host != NULL;
        int rl_flags = (reading_remotely ? 0 : RL_DUMP_COMMENTS)
-                    | (eol_nulls || reading_remotely ? RL_EOL_NULLS : 0)
-                    | (filesfrom_convert ? RL_CONVERT : 0);
+#ifdef ICONV_OPTION
+                    | (filesfrom_convert ? RL_CONVERT : 0)
+#endif
+                    | (eol_nulls || reading_remotely ? RL_EOL_NULLS : 0);
 
        rprintf(FLOG, "building file list\n");
        if (show_filelist_p())