diff options
Diffstat (limited to 'cups/transcode.c')
-rw-r--r-- | cups/transcode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cups/transcode.c b/cups/transcode.c index f437dfe09..a24c8a851 100644 --- a/cups/transcode.c +++ b/cups/transcode.c @@ -88,8 +88,10 @@ cupsCharsetToUTF8( const cups_encoding_t encoding) /* I - Encoding */ { cups_utf8_t *destptr; /* Pointer into UTF-8 buffer */ +#ifdef HAVE_ICONV_H size_t srclen, /* Length of source string */ outBytesLeft; /* Bytes remaining in output buffer */ +#endif /* HAVE_ICONV_H */ /* @@ -206,8 +208,10 @@ cupsUTF8ToCharset( const cups_encoding_t encoding) /* I - Encoding */ { char *destptr; /* Pointer into destination */ +#ifdef HAVE_ICONV_H size_t srclen, /* Length of source string */ outBytesLeft; /* Bytes remaining in output buffer */ +#endif /* HAVE_ICONV_H */ /* |