X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/12c8cd02fccf4e515eaca9eed5a41d5b92930262..c85631421deb9eb49abff012f7bbd0dc96278b1b:/rsync.c diff --git a/rsync.c b/rsync.c index b9db23b6..2a2505a0 100644 --- a/rsync.c +++ b/rsync.c @@ -21,7 +21,7 @@ process */ #include "rsync.h" -#if defined HAVE_ICONV && defined HAVE_ICONV_H +#if defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H #include #endif #if defined HAVE_LIBCHARSET_H && defined HAVE_LOCALE_CHARSET @@ -50,7 +50,7 @@ extern int keep_dirlinks; extern int make_backups; extern struct stats stats; -#ifdef HAVE_ICONV +#ifdef HAVE_ICONV_OPEN iconv_t ic_chck = (iconv_t)-1; static char *default_charset(void)