diff options
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/src/giconv.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eglib/src/giconv.c b/eglib/src/giconv.c index a6f222dfe87..c7723fef5b4 100644 --- a/eglib/src/giconv.c +++ b/eglib/src/giconv.c @@ -199,8 +199,11 @@ g_iconv (GIConv cd, gchar **inbytes, gsize *inbytesleft, } else { outleftptr = NULL; } - +#if defined(__NetBSD__) + return iconv (cd->cd, (const gchar **)inbytes, inleftptr, outbytes, outleftptr); +#else return iconv (cd->cd, inbytes, inleftptr, outbytes, outleftptr); +#endif } #endif |