aboutsummaryrefslogtreecommitdiffstats
path: root/rsync.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-02-05 04:52:11 +0000
committerWayne Davison <wayned@samba.org>2006-02-05 04:52:11 +0000
commit595251de24388fdfbac120daf9f3a748745ef7c5 (patch)
treea969c5cb8172d1556375bc8454ac53275a932cfb /rsync.c
parentc85631421deb9eb49abff012f7bbd0dc96278b1b (diff)
downloadandroid_external_rsync-595251de24388fdfbac120daf9f3a748745ef7c5.tar.gz
android_external_rsync-595251de24388fdfbac120daf9f3a748745ef7c5.tar.bz2
android_external_rsync-595251de24388fdfbac120daf9f3a748745ef7c5.zip
Make sure that we don't try to use iconv() without iconv.h.
Diffstat (limited to 'rsync.c')
-rw-r--r--rsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync.c b/rsync.c
index 2a2505a0..ee2f72b6 100644
--- a/rsync.c
+++ b/rsync.c
@@ -50,7 +50,7 @@ extern int keep_dirlinks;
extern int make_backups;
extern struct stats stats;
-#ifdef HAVE_ICONV_OPEN
+#if defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H
iconv_t ic_chck = (iconv_t)-1;
static char *default_charset(void)