* Fix some issues with uClibc.
This commit is contained in:
@ -37,6 +37,7 @@ do_iconv(const char* to_ces, const char* from_ces,
|
||||
char *inbuf, size_t inbytesleft,
|
||||
char *outbuf_orig, size_t outbytesleft_orig)
|
||||
{
|
||||
#ifdef HAVE_ICONV_H
|
||||
size_t rc;
|
||||
iconv_result ret = ICONV_OK;
|
||||
|
||||
@ -65,6 +66,9 @@ do_iconv(const char* to_ces, const char* from_ces,
|
||||
iconv_close(cd);
|
||||
|
||||
return ret;
|
||||
#else // HAVE_ICONV_H
|
||||
return ICONV_FATAL;
|
||||
#endif // HAVE_ICONV_H
|
||||
}
|
||||
|
||||
#define N_LANG_ALT 8
|
||||
|
@ -31,13 +31,15 @@
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <iconv.h>
|
||||
#include <sys/time.h>
|
||||
#include <netinet/in.h>
|
||||
#include <ogg/ogg.h>
|
||||
#include <vorbis/codec.h>
|
||||
#include <FLAC/metadata.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#ifdef HAVE_ICONV_H
|
||||
#include <iconv.h>
|
||||
#endif
|
||||
|
||||
#include <sqlite3.h>
|
||||
#include "tagutils.h"
|
||||
|
Reference in New Issue
Block a user