X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9656de5d13a914e79643fe5e403c6303205a042f..2243a9353e34b30a7d26220f4f83a5705855873d:/main.c diff --git a/main.c b/main.c index dfee754a..e8b5efd3 100644 --- a/main.c +++ b/main.c @@ -792,7 +792,7 @@ void start_server(int f_in, int f_out, int argc, char *argv[]) io_set_sock_fds(f_in, f_out); setup_protocol(f_out, f_in); -#ifdef HAVE_ICONV +#if defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H setup_iconv(); #endif @@ -831,7 +831,7 @@ int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[]) io_set_sock_fds(f_in, f_out); setup_protocol(f_out,f_in); -#ifdef HAVE_ICONV +#if defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H setup_iconv(); #endif