commit d05156031070efe6104695acad93aa879bc0f084
parent 22e05b492f09ed1d20cd48e1917d1dead0fc248e
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Thu, 1 Jan 2015 23:36:36 +0100
RSSyl: Fix handling of feeds with encodings unknown to expat. Turns out the only thing missing was that HAVE_ICONV macro (from config.h) was not defined in parser.c, so our "unknown encoding" expat handler function did nothing. Fixes bug #3339.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/plugins/rssyl/libfeed/parser.c b/src/plugins/rssyl/libfeed/parser.c
@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <glib.h>
#include <curl/curl.h>
#include <expat.h>