X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ficonvme.h;h=4524d326c9b991606fe18c46ed37df6c58ae754a;hb=96540edb37f9bcc02b5f35bd3dcda5aaac5dac2c;hp=d46e895b49959f6c25930d2b99c387816cdbff43;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git diff --git a/lib/iconvme.h b/lib/iconvme.h index d46e895b4..4524d326c 100644 --- a/lib/iconvme.h +++ b/lib/iconvme.h @@ -3,17 +3,17 @@ Written by Simon Josefsson. This program is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1, or (at your option) + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. + GNU General Public License for more details. - You should have received a copy of the GNU Lesser General Public License along - with this program; if not, write to the Free Software Foundation, + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef ICONVME_H @@ -22,4 +22,9 @@ extern char *iconv_string (const char *string, const char *from_code, const char *to_code); +#if HAVE_ICONV +# include +extern char *iconv_alloc (iconv_t cd, const char *string); +#endif + #endif /* ICONVME_H */