From: Michael Adam Date: Fri, 15 Feb 2008 12:11:41 +0000 (+0100) Subject: Try to fix the build of smbiconv on systems without native iconv. X-Git-Tag: samba-3.2.0pre2~37^2~162^2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bdc00a05b95a7a629a6cbf2af21760b6ff874bd9;p=thirdparty%2Fsamba.git Try to fix the build of smbiconv on systems without native iconv. Use the smb_iconv_t instead of iconv_t. Michael --- diff --git a/source/torture/smbiconv.c b/source/torture/smbiconv.c index c4d30164e47..ad4d6b26ccb 100644 --- a/source/torture/smbiconv.c +++ b/source/torture/smbiconv.c @@ -86,7 +86,7 @@ incomplete character or shift sequence at end of buffer")); static int -process_fd (iconv_t cd, int fd, FILE *output) +process_fd (smb_iconv_t cd, int fd, FILE *output) { /* we have a problem with reading from a descriptor since we must not provide the iconv() function an incomplete character or shift